]> git.lyx.org Git - features.git/commitdiff
Whitespace.
authorRichard Heck <rgheck@lyx.org>
Sun, 15 Apr 2018 02:45:11 +0000 (22:45 -0400)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Mon, 16 Apr 2018 18:02:20 +0000 (14:02 -0400)
src/insets/ExternalSupport.cpp
src/insets/InsetInclude.cpp

index d333d2225ad8426993e3c09eb853459ecf03b359..3d7936abc77f68b22adc4b2f2e9a3ceb26d40f9c 100644 (file)
@@ -393,16 +393,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);
                }
        }
 
index 9a32d053ec4e8389375b5397df4749da28a1960f..fd673327d3ef6412e971533721a7b85c717c1eff 100644 (file)
@@ -806,10 +806,8 @@ void InsetInclude::latex(otexstream & os, OutputParams const & runparams) const
                                ErrorList const & el = tmp->errorList("Export");
                                if (!el.empty())
                                        msg = bformat(from_ascii("%1$s\n\n%2$s\n\n%3$s"),
-                                               msg, el.begin()->error,
-                                               el.begin()->description);
-                               throw ExceptionMessage(ErrorException, _("Error: "),
-                                                      msg);
+                                               msg, el.begin()->error, el.begin()->description);
+                               throw ExceptionMessage(ErrorException, _("Error: "), msg);
                        }
                }
                runparams.encoding = oldEnc;
@@ -834,10 +832,8 @@ void InsetInclude::latex(otexstream & os, OutputParams const & runparams) const
                                                included_file.displayName());
                                if (!el.empty())
                                        msg = bformat(from_ascii("%1$s\n\n%2$s\n\n%3$s"),
-                                                       msg, el.begin()->error,
-                                                       el.begin()->description);
-                               throw ExceptionMessage(ErrorException, _("Error: "),
-                                                      msg);
+                                               msg, el.begin()->error, el.begin()->description);
+                               throw ExceptionMessage(ErrorException, _("Error: "), msg);
                        }
                }
        } else {