From 03a221698170107243aedba684a546119bdec82a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Mon, 27 Sep 2010 03:21:59 +0000 Subject: [PATCH] InsetGraphics.cpp and InsetInclude.cpp: whitespace fixes git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35517 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetGraphics.cpp | 10 +++++----- src/insets/InsetInclude.cpp | 16 ++++++++-------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/insets/InsetGraphics.cpp b/src/insets/InsetGraphics.cpp index 301382b9f5..31b6c181f3 100644 --- a/src/insets/InsetGraphics.cpp +++ b/src/insets/InsetGraphics.cpp @@ -589,17 +589,17 @@ string InsetGraphics::prepareFile(OutputParams const & runparams) const params().filename.outputFileName(masterBuffer->filePath()) : onlyFileName(temp_file.absFileName()); - if (runparams.nice ) { + if (runparams.nice) { if (!isValidLaTeXFileName(output_file)) { frontend::Alert::warning(_("Invalid filename"), - _("The following filename will cause troubles " - "when running the exported file through LaTeX: ") + - from_utf8(output_file)); + _("The following filename will cause troubles " + "when running the exported file through LaTeX: ") + + from_utf8(output_file)); } // only show DVI-specific warning when export format is plain latex if (!isValidDVIFileName(output_file) && runparams.flavor == OutputParams::LATEX) { - frontend::Alert::warning(_("Problematic filename for DVI"), + 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: ") + diff --git a/src/insets/InsetInclude.cpp b/src/insets/InsetInclude.cpp index 8716630e98..7818d05a4d 100644 --- a/src/insets/InsetInclude.cpp +++ b/src/insets/InsetInclude.cpp @@ -510,16 +510,16 @@ int InsetInclude::latex(odocstream & os, OutputParams const & runparams) const incfile = mangled; else if (!isValidLaTeXFileName(incfile)) { frontend::Alert::warning(_("Invalid filename"), - _("The following filename will cause troubles " - "when running the exported file through LaTeX: ") + - from_utf8(incfile)); + _("The following filename will cause troubles " + "when running the exported file through LaTeX: ") + + from_utf8(incfile)); } else if (!isValidDVIFileName(incfile)) { - 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(incfile), true); + 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(incfile), true); } LYXERR(Debug::LATEX, "incfile:" << incfile); LYXERR(Debug::LATEX, "exportfile:" << exportfile); -- 2.39.2