[Libreoffice-commits] .: desktop/source

Caolán McNamara caolan at kemper.freedesktop.org
Wed Oct 5 02:44:56 PDT 2011


 desktop/source/deployment/registry/dp_registry.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 06ae02404e0d4d72f4150e8b33b491457255428e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Oct 5 10:44:07 2011 +0100

    cast gone

diff --git a/desktop/source/deployment/registry/dp_registry.cxx b/desktop/source/deployment/registry/dp_registry.cxx
index 9e799dd..36dc8f0 100644
--- a/desktop/source/deployment/registry/dp_registry.cxx
+++ b/desktop/source/deployment/registry/dp_registry.cxx
@@ -285,7 +285,8 @@ void PackageRegistryImpl::insertBackend(
             }
         }
 #if OSL_DEBUG_LEVEL > 0
-        else {
+        else
+        {
             ::rtl::OUStringBuffer buf;
             buf.appendAscii(
                 RTL_CONSTASCII_STRINGPARAM(
@@ -299,7 +300,7 @@ void PackageRegistryImpl::insertBackend(
             buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\"!") );
             OSL_FAIL( ::rtl::OUStringToOString(
                             buf.makeStringAndClear(),
-                            RTL_TEXTENCODING_UTF8 ) );
+                            RTL_TEXTENCODING_UTF8).getStr() );
         }
 #endif
     }


More information about the Libreoffice-commits mailing list