X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FExternalSupport.cpp;h=33c14d38be935a6a0b957346bd8e320faaf49e24;hb=8124e6c02ea1fd6779bb6c47ffe2bca2c8bd2d97;hp=d333d2225ad8426993e3c09eb853459ecf03b359;hpb=83fded8feae6d3a7f4c11689ccef41de979b569a;p=lyx.git diff --git a/src/insets/ExternalSupport.cpp b/src/insets/ExternalSupport.cpp index d333d2225a..33c14d38be 100644 --- a/src/insets/ExternalSupport.cpp +++ b/src/insets/ExternalSupport.cpp @@ -30,7 +30,6 @@ #include "support/filetools.h" #include "support/gettext.h" #include "support/lstrings.h" -#include "support/lyxalgo.h" #include "support/os.h" #include "support/Package.h" @@ -393,16 +392,16 @@ RetVal writeExternal(InsetExternalParams const & params, if (!dryrun && !external_in_tmpdir) { if (!isValidLaTeXFileName(absname)) { lyx::frontend::Alert::warning(_("Invalid filename"), - _("The following filename will cause troubles " - "when running the exported file through LaTeX: ") + - from_utf8(absname)); + _("The following filename will cause troubles " + "when running the exported file through LaTeX: ") + + from_utf8(absname)); } if (!isValidDVIFileName(absname)) { lyx::frontend::Alert::warning(_("Problematic filename for DVI"), - _("The following filename can cause troubles " - "when running the exported file through LaTeX " - "and opening the resulting DVI: ") + - from_utf8(absname), true); + _("The following filename can cause troubles " + "when running the exported file through LaTeX " + "and opening the resulting DVI: ") + + from_utf8(absname), true); } } @@ -481,6 +480,8 @@ string const substituteIt(string const & input, case Resize: ptr = store.getOptionTransformer(params.resizedata); break; + case None: + break; } if (!ptr)