summaryrefslogtreecommitdiff
path: root/sal/rtl/strbuf.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:21:55 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:35 +0100
commit26f05d59bc1c25b8a0d19be7f4738fd12e557001 (patch)
tree560cccfaacf4b63385aa52ac4b3912248e87cbef /sal/rtl/strbuf.cxx
parent5bbdb9423e15b68438bb8397c15635e044129e28 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I1bc6c87fcd6e5e96362623be94c59be216a3b2b8
Diffstat (limited to 'sal/rtl/strbuf.cxx')
-rw-r--r--sal/rtl/strbuf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/strbuf.cxx b/sal/rtl/strbuf.cxx
index b88b0d9585c1..374f329f5a55 100644
--- a/sal/rtl/strbuf.cxx
+++ b/sal/rtl/strbuf.cxx
@@ -78,7 +78,7 @@ void SAL_CALL rtl_stringbuffer_ensureCapacity
if (minimumCapacity > *capacity)
{
rtl_String * pTmp = *This;
- rtl_String * pNew = NULL;
+ rtl_String * pNew = nullptr;
*capacity = ((*This)->length + 1) * 2;
if (minimumCapacity > *capacity)
/* still lower, set to the minimum capacity */