when showing full source, do not define \input@path

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27188 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2008-10-29 14:04:10 +00:00
parent 673c2a3ec5
commit da83b636ea

View File

@ -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;