Remove unused code.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24000 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-03-27 06:19:07 +00:00
parent ac66bdd5e7
commit aff53a5a28
2 changed files with 5 additions and 5 deletions

View File

@ -313,11 +313,8 @@ int InsetBibtex::latex(Buffer const & buffer, odocstream & os,
}
vector<FileName> const InsetBibtex::getFiles(Buffer const & buffer) const
vector<FileName> const InsetBibtex::getFiles(Buffer const &) const
{
FileName path(buffer.filePath());
support::Path p(path);
vector<FileName> vec;
string tmp;

View File

@ -418,13 +418,16 @@ void InsetCitation::textString(Buffer const & buf, odocstream & os) const
// citations and then changes his mind, turning natbib support off. The output
// should revert to \cite[]{}
int InsetCitation::latex(Buffer const & buffer, odocstream & os,
OutputParams const &) const
OutputParams const & op) const
{
biblio::CiteEngine cite_engine = buffer.params().getEngine();
// FIXME UNICODE
docstring const cite_str = from_utf8(
biblio::asValidLatexCommand(getCmdName(), cite_engine));
if (op.moving_arg)
os << "\\protect";
os << "\\" << cite_str;
docstring const & before = getParam("before");