From 822a0b7046d8f0a8325ad158ea6756d33846c83e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 10 Nov 2015 10:19:46 +0100 Subject: loplugin:nullptr (automatic rewrite) Change-Id: Id11454397abad090741c5d98e2ae585531c886f6 --- lotuswordpro/source/filter/lwpbackgroundstuff.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lotuswordpro/source/filter/lwpbackgroundstuff.cxx') diff --git a/lotuswordpro/source/filter/lwpbackgroundstuff.cxx b/lotuswordpro/source/filter/lwpbackgroundstuff.cxx index 98af13df5741..d54dfc4f4e4e 100644 --- a/lotuswordpro/source/filter/lwpbackgroundstuff.cxx +++ b/lotuswordpro/source/filter/lwpbackgroundstuff.cxx @@ -106,7 +106,7 @@ XFBGImage* LwpBackgroundStuff::GetFillPattern() // not pattern fill? if (!this->IsPatternFill()) { - return NULL; + return nullptr; } // get pattern array from pattern table @@ -160,7 +160,7 @@ XFBGImage* LwpBackgroundStuff::GetFillPattern() pXFBGImage->SetImageData(pImageBuff, nSize); delete [] pImageBuff; - pImageBuff = NULL; + pImageBuff = nullptr; pXFBGImage->SetRepeate(); -- cgit