summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwpbackgroundstuff.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:19:46 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:31 +0100
commit822a0b7046d8f0a8325ad158ea6756d33846c83e (patch)
treee1683caf123afd514361f85c389db52514d02890 /lotuswordpro/source/filter/lwpbackgroundstuff.cxx
parentloplugin:nullptr (automatic rewrite) (diff)
downloadcore-822a0b7046d8f0a8325ad158ea6756d33846c83e.tar.gz
core-822a0b7046d8f0a8325ad158ea6756d33846c83e.zip
loplugin:nullptr (automatic rewrite)
Change-Id: Id11454397abad090741c5d98e2ae585531c886f6
Diffstat (limited to 'lotuswordpro/source/filter/lwpbackgroundstuff.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpbackgroundstuff.cxx4
1 files changed, 2 insertions, 2 deletions
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();