summaryrefslogtreecommitdiff
path: root/unotest/source/cpp/bootstrapfixturebase.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:27:49 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:57 +0100
commit34a66ff58a20856fb4388e523becdd5397e08fb0 (patch)
treedc668950c223da1115075d4176051e73591e8e03 /unotest/source/cpp/bootstrapfixturebase.cxx
parent7cb9fce062c1c753708282098c2021ce342c675f (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: Ie7e4b028ee0cd6e0254dda8dfe3c70973865bc03
Diffstat (limited to 'unotest/source/cpp/bootstrapfixturebase.cxx')
-rw-r--r--unotest/source/cpp/bootstrapfixturebase.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unotest/source/cpp/bootstrapfixturebase.cxx b/unotest/source/cpp/bootstrapfixturebase.cxx
index af340d62f02a..74a28026fc3c 100644
--- a/unotest/source/cpp/bootstrapfixturebase.cxx
+++ b/unotest/source/cpp/bootstrapfixturebase.cxx
@@ -45,9 +45,9 @@ test::BootstrapFixtureBase::BootstrapFixtureBase()
{
#ifndef ANDROID
const char* pSrcRoot = getenv( "SRC_ROOT" );
- CPPUNIT_ASSERT_MESSAGE("SRC_ROOT env variable not set", pSrcRoot != NULL && pSrcRoot[0] != 0);
+ CPPUNIT_ASSERT_MESSAGE("SRC_ROOT env variable not set", pSrcRoot != nullptr && pSrcRoot[0] != 0);
const char* pWorkdirRoot = getenv( "WORKDIR_FOR_BUILD" );
- CPPUNIT_ASSERT_MESSAGE("$WORKDIR_FOR_BUILD env variable not set", pWorkdirRoot != NULL && pWorkdirRoot[0] != 0);
+ CPPUNIT_ASSERT_MESSAGE("$WORKDIR_FOR_BUILD env variable not set", pWorkdirRoot != nullptr && pWorkdirRoot[0] != 0);
#else
const char* pSrcRoot = "/assets";
const char* pWorkdirRoot = "/assets";