[Libreoffice-commits] .: 2 commits - l10ntools/source

Caolán McNamara caolan at kemper.freedesktop.org
Tue Oct 12 07:53:17 PDT 2010


 l10ntools/source/help/HelpLinker.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 71acd122ad5e34208a7bb873b28bf73170ff7721
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Oct 12 15:50:15 2010 +0100

    WaE, add extra brackets

diff --git a/l10ntools/source/help/HelpLinker.cxx b/l10ntools/source/help/HelpLinker.cxx
index 4a20fe2..512c1de 100644
--- a/l10ntools/source/help/HelpLinker.cxx
+++ b/l10ntools/source/help/HelpLinker.cxx
@@ -1022,8 +1022,8 @@ void HelpLinker::main( std::vector<std::string> &args,
         idxCaptionStylesheet = fs::path( aStdStr_IdxCaptionPathFileURL );
     }
 
-    if (!bExtensionMode && idxContentStylesheet.empty()
-        || !extsource.empty() && idxContentStylesheet.empty())
+    if ( (!bExtensionMode && idxContentStylesheet.empty())
+        || (!extsource.empty() && idxContentStylesheet.empty()) )
     {
         //No extension mode and extension mode using commandline
         //!extsource.empty indicates extension mode using commandline
commit 6179c18c4e0c3d413d919e1d97577cb871cd2584
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Oct 12 15:48:16 2010 +0100

    WaE, add extra brackets

diff --git a/l10ntools/source/help/HelpLinker.cxx b/l10ntools/source/help/HelpLinker.cxx
index 80f7b84..4a20fe2 100644
--- a/l10ntools/source/help/HelpLinker.cxx
+++ b/l10ntools/source/help/HelpLinker.cxx
@@ -998,8 +998,8 @@ void HelpLinker::main( std::vector<std::string> &args,
         throw HelpProcessingException( HELPPROCESSING_GENERAL_ERROR, aStrStream.str() );
     }
 
-    if (!bExtensionMode && idxCaptionStylesheet.empty()
-        || !extsource.empty() && idxCaptionStylesheet.empty())
+    if ( (!bExtensionMode && idxCaptionStylesheet.empty())
+        || (!extsource.empty() && idxCaptionStylesheet.empty()) )
     {
         //No extension mode and extension mode using commandline
         //!extsource.empty indicates extension mode using commandline


More information about the Libreoffice-commits mailing list