X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetCitation.cpp;h=88a3cb120284408d9c125d316eea9987adbb79f7;hb=2c357c1d23b7b83839a9beb8225d4f1ae4f793b4;hp=de8af5727b3f5f3de1b6f75237d7bc2c68411cb4;hpb=52cd35cd5ff366614a1d668a7ede6afa6fa03f5e;p=lyx.git diff --git a/src/insets/InsetCitation.cpp b/src/insets/InsetCitation.cpp index de8af5727b..88a3cb1202 100644 --- a/src/insets/InsetCitation.cpp +++ b/src/insets/InsetCitation.cpp @@ -15,15 +15,15 @@ #include "Buffer.h" #include "BufferParams.h" -#include "support/debug.h" #include "DispatchResult.h" #include "support/gettext.h" +#include "EmbeddedFiles.h" #include "FuncRequest.h" #include "LaTeXFeatures.h" -#include "support/lstrings.h" +#include "support/debug.h" #include "support/docstream.h" -#include "support/FileNameList.h" +#include "support/lstrings.h" #include @@ -144,10 +144,10 @@ docstring const getComplexLabel(Buffer const & buffer, BiblioInfo biblist; - support::EmbeddedFileList const & bibfilesCache = buffer.getBibfilesCache(); + EmbeddedFileList const & bibfilesCache = buffer.getBibfilesCache(); // compare the cached timestamps with the actual ones. bool changed = false; - for (support::EmbeddedFileList::const_iterator it = bibfilesCache.begin(); + for (EmbeddedFileList::const_iterator it = bibfilesCache.begin(); it != bibfilesCache.end(); ++ it) { FileName const f = *it; time_t lastw = f.lastModified(); @@ -490,10 +490,9 @@ int InsetCitation::docbook(Buffer const &, odocstream & os, } -int InsetCitation::textString(Buffer const & buf, odocstream & os, - OutputParams const & op) const +void InsetCitation::textString(Buffer const & buf, odocstream & os) const { - return plaintext(buf, os, op); + plaintext(buf, os, OutputParams(0)); }