]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.cpp
Fix bug 5411
[lyx.git] / src / Buffer.cpp
index e08354b39abaf42dac7e79410e8e19c62ad5ab1b..418ea5447fdfbfdecb052b7bcdf03a2e6a7394eb 100644 (file)
@@ -117,7 +117,7 @@ namespace {
 
 // Do not remove the comment below, so we get merge conflict in
 // independent branches. Instead add your own.
-int const LYX_FORMAT = 344;  // ps: backref
+int const LYX_FORMAT = 345;  // jamatos: xml elements
 
 typedef map<string, bool> DepClean;
 typedef map<docstring, pair<InsetLabel const *, Buffer::References> > RefCache;
@@ -2123,9 +2123,9 @@ void Buffer::getSourceCode(odocstream & os, pit_type par_begin,
                d->texrow.newline();
                if (isDocBook())
                        writeDocBookSource(os, absFileName(), runparams, false);
-               else 
+               else
                        // latex or literate
-                       writeLaTeXSource(os, filePath(), runparams, true, true);
+                       writeLaTeXSource(os, string(), runparams, true, true);
        } else {
                runparams.par_begin = par_begin;
                runparams.par_end = par_end;