summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwpbackgroundstuff.cxx
diff options
context:
space:
mode:
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();