mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
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:
parent
ac66bdd5e7
commit
aff53a5a28
@ -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;
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user