summaryrefslogtreecommitdiff
path: root/sal/qa/rtl/oustring
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/qa/rtl/oustring
parent5bbdb9423e15b68438bb8397c15635e044129e28 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I1bc6c87fcd6e5e96362623be94c59be216a3b2b8
Diffstat (limited to 'sal/qa/rtl/oustring')
-rw-r--r--sal/qa/rtl/oustring/rtl_OUString2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/qa/rtl/oustring/rtl_OUString2.cxx b/sal/qa/rtl/oustring/rtl_OUString2.cxx
index 2f0b366bccc9..7868b98c6464 100644
--- a/sal/qa/rtl/oustring/rtl_OUString2.cxx
+++ b/sal/qa/rtl/oustring/rtl_OUString2.cxx
@@ -995,7 +995,7 @@ public:
void createFromCodePoints::test() {
CPPUNIT_ASSERT_EQUAL(
sal_Int32(0),
- rtl::OUString(static_cast< sal_uInt32 const * >(NULL), 0).getLength());
+ rtl::OUString(static_cast< sal_uInt32 const * >(nullptr), 0).getLength());
static sal_uInt32 const cp[] = { 0, 0xD800, 0xFFFF, 0x10000, 0x10FFFF };
rtl::OUString s(cp, sizeof cp / sizeof (sal_uInt32));
CPPUNIT_ASSERT_EQUAL(sal_Int32(7), s.getLength());