* src/insets/insetgraphics.C

(InsetGraphics::prepareFile): Use correct extension if it cannot be
	stripped. I overlooked this when I did the
	stripExtension -> stripExtensionIfPossible change in revision 10093.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@17121 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2007-02-09 08:42:26 +00:00
parent 0d3e5931c4
commit 8114643845
2 changed files with 5 additions and 2 deletions

View File

@ -711,7 +711,7 @@ string const InsetGraphics::prepareFile(Buffer const & buf,
output_to_file);
runparams.exportdata->addExternalFile("dvi", to_file,
output_to_file);
return stripExtensionIfPossible(output_file);
return stripExtensionIfPossible(output_to_file);
}
lyxerr[Debug::GRAPHICS]
@ -727,7 +727,7 @@ string const InsetGraphics::prepareFile(Buffer const & buf,
to_file, output_to_file);
}
return stripExtensionIfPossible(output_file);
return stripExtensionIfPossible(output_to_file);
}

View File

@ -125,6 +125,9 @@ What's new
- Read filenames with spaces in external insets correctly from .lyx files
- Use the correct filename extension of included graphics in latex export if
it cannot be omitted.
* USER INTERFACE:
- Fix slowness with lots of math on Windows (bug 2900).