sal/rtl/ustring.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ff5a48439c7975314e48056092baafa9a6359f9a
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Mon Feb 10 09:30:24 2014 +0100

    Do not do RTL_LOG_STRING_NEW on null pointer
    
    Change-Id: Ie972599650620324fa7af5ed2b2843bfc1f34c43

diff --git a/sal/rtl/ustring.cxx b/sal/rtl/ustring.cxx
index 3599a92..d31d6bc 100644
--- a/sal/rtl/ustring.cxx
+++ b/sal/rtl/ustring.cxx
@@ -493,9 +493,9 @@ void SAL_CALL rtl_uString_newFromAscii( rtl_uString** 
ppThis,
             pCharStr++;
         }
         while ( *pCharStr );
-    }
 
-    RTL_LOG_STRING_NEW( *ppThis );
+        RTL_LOG_STRING_NEW( *ppThis );
+    }
 }
 
 void SAL_CALL rtl_uString_newFromCodePoints(
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to