[Libreoffice-commits] core.git: sd/qa
Stephan Bergmann
sbergman at redhat.com
Tue Nov 17 04:28:20 PST 2015
sd/qa/unit/sdmodeltestbase.hxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 9579e458a5dbd1099a42ef616dfa4d0287931c22
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Nov 17 13:27:53 2015 +0100
loplugin:nullptr
Change-Id: Iaf31a731c9151972ba2fe2ed50074ea59c147550
diff --git a/sd/qa/unit/sdmodeltestbase.hxx b/sd/qa/unit/sdmodeltestbase.hxx
index d70f34b..a9682bb 100644
--- a/sd/qa/unit/sdmodeltestbase.hxx
+++ b/sd/qa/unit/sdmodeltestbase.hxx
@@ -268,10 +268,10 @@ protected:
const SdrPage* GetPage( int nPage, sd::DrawDocShellRef xDocShRef )
{
SdDrawDocument* pDoc = xDocShRef->GetDoc() ;
- CPPUNIT_ASSERT_MESSAGE( "no document", pDoc != NULL );
+ CPPUNIT_ASSERT_MESSAGE( "no document", pDoc != nullptr );
const SdrPage* pPage = pDoc->GetPage( nPage );
- CPPUNIT_ASSERT_MESSAGE( "no page", pPage != NULL );
+ CPPUNIT_ASSERT_MESSAGE( "no page", pPage != nullptr );
return pPage;
}
More information about the Libreoffice-commits
mailing list