summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-10 09:30:24 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-10 09:30:24 +0100
commitff5a48439c7975314e48056092baafa9a6359f9a (patch)
treeb5cfb7e5fe670ef30512c5f7b4aabadde75a124e /sal
parent3df1b8927a485192c55daf087449c00f505f6e5d (diff)
Do not do RTL_LOG_STRING_NEW on null pointer
Change-Id: Ie972599650620324fa7af5ed2b2843bfc1f34c43
Diffstat (limited to 'sal')
-rw-r--r--sal/rtl/ustring.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/rtl/ustring.cxx b/sal/rtl/ustring.cxx
index 3599a922fb50..d31d6bc592dc 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(