summaryrefslogtreecommitdiff
path: root/configmgr/source/partial.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:11:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:19 +0100
commit047239d5ca229bb8ad85a2d9fcd2ae7b6f35b976 (patch)
tree139a191a1def79e706419db4090e958f5a217af5 /configmgr/source/partial.cxx
parentfb4ce444c2239aa089b0b3c8f4b7629a624edea2 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I520c7e35d539ba804da17185353317eca504a582
Diffstat (limited to 'configmgr/source/partial.cxx')
-rw-r--r--configmgr/source/partial.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/configmgr/source/partial.cxx b/configmgr/source/partial.cxx
index 14ba0d61343c..3b39b6edddba 100644
--- a/configmgr/source/partial.cxx
+++ b/configmgr/source/partial.cxx
@@ -41,8 +41,8 @@ bool parseSegment(
OUString const & path, sal_Int32 * index, OUString * segment)
{
assert(
- index != 0 && *index >= 0 && *index <= path.getLength() &&
- segment != 0);
+ index != nullptr && *index >= 0 && *index <= path.getLength() &&
+ segment != nullptr);
if (path[(*index)++] == '/') {
OUString name;
bool setElement;