[Libreoffice-commits] .: sc/source ucb/workben

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Dec 29 17:12:09 PST 2012


 sc/source/ui/vba/vbahelper.cxx |    2 +-
 ucb/workben/ucb/ucbdemo.cxx    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c5132e30fb09477aa46d810dd86727b3aa8cf20e
Author: Radu Ioan <ioan.radu.g at gmail.com>
Date:   Sun Dec 30 02:47:09 2012 +0200

    fdo#39440 - cppcheck cleanliness
    
    Correct some strings
    
    Change-Id: Ic019cb11b87cd51e7ffd1fb8f16b79dff381936c
    Reviewed-on: https://gerrit.libreoffice.org/1508
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

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 @@ getCurrentDocument() throw (uno::RuntimeException)
             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 @@ rtl::OUString ProgressHandler::toString(const uno::Any & rStatus)
         return rtl::OUString(sResult);
     }
 
-    return rtl::OUString("(Unknown object"));
+    return rtl::OUString("(Unknown object)");
 }
 
 //============================================================================


More information about the Libreoffice-commits mailing list