summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpfont.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/lwpfont.cxx
parent53a2e93fc5a4872b36fb8e76ddd4b722a18cb49b (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: Id11454397abad090741c5d98e2ae585531c886f6
Diffstat (limited to 'lotuswordpro/source/filter/lwpfont.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpfont.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/lotuswordpro/source/filter/lwpfont.cxx b/lotuswordpro/source/filter/lwpfont.cxx
index 040e1d748eae..cc27bef903bf 100644
--- a/lotuswordpro/source/filter/lwpfont.cxx
+++ b/lotuswordpro/source/filter/lwpfont.cxx
@@ -242,12 +242,12 @@ void LwpFontTableEntry::RegisterFontDecl()
LwpFontTable::LwpFontTable()
: m_nCount(0)
- , m_pFontEntries(NULL)
+ , m_pFontEntries(nullptr)
{}
void LwpFontTable::Read(LwpObjectStream *pStrm)
{
- m_pFontEntries = NULL;
+ m_pFontEntries = nullptr;
m_nCount = pStrm->QuickReaduInt16();
if(m_nCount>0)
{
@@ -271,7 +271,7 @@ LwpFontTable::~LwpFontTable()
if(m_pFontEntries)
{
delete [] m_pFontEntries;
- m_pFontEntries = NULL;
+ m_pFontEntries = nullptr;
}
}
@@ -360,7 +360,7 @@ bool LwpFontNameEntry::IsBackgroundColorOverridden()
LwpFontNameManager::LwpFontNameManager()
: m_nCount(0)
- , m_pFontNames(NULL)
+ , m_pFontNames(nullptr)
{}
LwpFontNameManager::~LwpFontNameManager()
@@ -368,7 +368,7 @@ LwpFontNameManager::~LwpFontNameManager()
if(m_pFontNames)
{
delete [] m_pFontNames;
- m_pFontNames = NULL;
+ m_pFontNames = nullptr;
}
}