[PATCH] fdo#39440 - cppcheck cleanliness

Ioan Radu (via Code Review) gerrit at gerrit.libreoffice.org
Sat Dec 29 16:48:01 PST 2012


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1508

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/08/1508/1

fdo#39440 - cppcheck cleanliness

Correct some strings

Change-Id: Ic019cb11b87cd51e7ffd1fb8f16b79dff381936c
---
M sc/source/ui/vba/vbahelper.cxx
M ucb/workben/ucb/ucbdemo.cxx
2 files changed, 2 insertions(+), 2 deletions(-)



diff --git a/sc/source/ui/vba/vbahelper.cxx b/sc/source/ui/vba/vbahelper.cxx
index 96c1aeb..1452d42 100644
--- a/sc/source/ui/vba/vbahelper.cxx
+++ b/sc/source/ui/vba/vbahelper.cxx
@@ -275,7 +275,7 @@
             if ( !xModel.is() )
             {
                 throw uno::RuntimeException(
-                    rtl::OUString( "Can't extract model from basic ( its obviously not set yet  therefore don't know the currently selected document") ), uno::Reference< uno::XInterface >() );
+                    rtl::OUString( "Can't extract model from basic ( its obviously not set yet  therefore don't know the currently selected document)" ), uno::Reference< uno::XInterface >() );
             }
             return xModel;
         }
diff --git a/ucb/workben/ucb/ucbdemo.cxx b/ucb/workben/ucb/ucbdemo.cxx
index 667bcd5..f38447a 100644
--- a/ucb/workben/ucb/ucbdemo.cxx
+++ b/ucb/workben/ucb/ucbdemo.cxx
@@ -296,7 +296,7 @@
         return rtl::OUString(sResult);
     }
 
-    return rtl::OUString("(Unknown object"));
+    return rtl::OUString("(Unknown object)");
 }
 
 //============================================================================

-- 
To view, visit https://gerrit.libreoffice.org/1508
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic019cb11b87cd51e7ffd1fb8f16b79dff381936c
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Ioan Radu <ioan.radu.g at gmail.com>



More information about the LibreOffice mailing list