]> git.lyx.org Git - lyx.git/commit
Fix bug 2637
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 13 Aug 2006 19:07:43 +0000 (19:07 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 13 Aug 2006 19:07:43 +0000 (19:07 +0000)
commitf0648e23200854176b965bf05ca3eefce518aa18
tree50f21a5aed066640915b5fb8d9eaf9dede666140
parenta392ba1c17c28445bd043567c9b775626cefff74
Fix bug 2637
* src/graphics/GraphicsConverter.C
(Converter::Impl::Impl): Don't call the default converter directly,
but create a temporary script with build_script() as for the
configured converters. This makes sure that the file name does not
need to be passed on the command line anymore.
(build_script): This cannot fail anymore, so change the return type
to void
(build_script): Use build_conversion_command also for the default
converter. This has the advantage that the special code for moving
${outfile}.0, ${outfile}.1 is actually used for ImageMagick's convert.
(build_conversion_command): factored out from build_script

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14657 a592a061-630c-0410-9148-cb99ea01b6c8
src/graphics/GraphicsConverter.C