From ff2df8cf37b4c426be8bda64b96e04af2c869189 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sat, 14 Apr 2018 22:45:11 -0400 Subject: [PATCH] Whitespace. --- src/insets/ExternalSupport.cpp | 14 +++++++------- src/insets/InsetInclude.cpp | 12 ++++-------- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/src/insets/ExternalSupport.cpp b/src/insets/ExternalSupport.cpp index d333d2225a..3d7936abc7 100644 --- a/src/insets/ExternalSupport.cpp +++ b/src/insets/ExternalSupport.cpp @@ -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); } } diff --git a/src/insets/InsetInclude.cpp b/src/insets/InsetInclude.cpp index 9a32d053ec..fd673327d3 100644 --- a/src/insets/InsetInclude.cpp +++ b/src/insets/InsetInclude.cpp @@ -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 {