summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-05 14:30:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-06 08:31:30 +0200
commita1ead1a0281a369087f1b2cce09431542c29bece (patch)
treedcc7dd8dc2fee88d4f125a7e1c8dd265b64030d5 /sal
parentee96ea7236958a89b60c87f688070412835ead3f (diff)
loplugin unnecessaryparan improvements
Change-Id: I73e945d6ec53537a0da45f6b6291018c7f251a7e Reviewed-on: https://gerrit.libreoffice.org/39587 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sal')
-rw-r--r--sal/rtl/ustring.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/ustring.cxx b/sal/rtl/ustring.cxx
index ff466ff72724..80832e71e089 100644
--- a/sal/rtl/ustring.cxx
+++ b/sal/rtl/ustring.cxx
@@ -543,7 +543,7 @@ void SAL_CALL rtl_uString_newFromAscii( rtl_uString** ppThis,
*ppThis = rtl_uString_ImplAlloc( nLen );
OSL_ASSERT(*ppThis != nullptr);
- if ( (*ppThis) )
+ if ( *ppThis )
{
sal_Unicode* pBuffer = (*ppThis)->buffer;
do