X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetCitation.cpp;h=a9597ca872b8d8939d52a2e2355aaa257d9730be;hb=c3a8b3a566e9e90f9ade72acbc723232d721d0b1;hp=dcc4fad43a1f2cf1f1e59f1e9cb3eb90432a8df4;hpb=e285d2a7d84cb372c6ec96a8dd422766ecadda7a;p=lyx.git diff --git a/src/insets/InsetCitation.cpp b/src/insets/InsetCitation.cpp index dcc4fad43a..a9597ca872 100644 --- a/src/insets/InsetCitation.cpp +++ b/src/insets/InsetCitation.cpp @@ -18,12 +18,12 @@ #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/docstream.h" -#include "support/FileNameList.h" #include @@ -144,10 +144,10 @@ docstring const getComplexLabel(Buffer const & buffer, BiblioInfo biblist; - FileNameList const & bibfilesCache = buffer.getBibfilesCache(); + EmbeddedFileList const & bibfilesCache = buffer.getBibfilesCache(); // compare the cached timestamps with the actual ones. bool changed = false; - for (FileNameList::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)); }