]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCitation.cpp
* Inset: Prepare for an eventual merge of updateLabels() and addToToc()
[lyx.git] / src / insets / InsetCitation.cpp
index dcc4fad43a1f2cf1f1e59f1e9cb3eb90432a8df4..a9597ca872b8d8939d52a2e2355aaa257d9730be 100644 (file)
 #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 <algorithm>
 
@@ -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));
 }