diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:19:46 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:31 +0100 |
commit | 822a0b7046d8f0a8325ad158ea6756d33846c83e (patch) | |
tree | e1683caf123afd514361f85c389db52514d02890 /lotuswordpro/source/filter/lwppagelayout.cxx | |
parent | loplugin:nullptr (automatic rewrite) (diff) | |
download | core-822a0b7046d8f0a8325ad158ea6756d33846c83e.tar.gz core-822a0b7046d8f0a8325ad158ea6756d33846c83e.zip |
loplugin:nullptr (automatic rewrite)
Change-Id: Id11454397abad090741c5d98e2ae585531c886f6
Diffstat (limited to 'lotuswordpro/source/filter/lwppagelayout.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwppagelayout.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lotuswordpro/source/filter/lwppagelayout.cxx b/lotuswordpro/source/filter/lwppagelayout.cxx index 21edb921404d..4bd134b4532d 100644 --- a/lotuswordpro/source/filter/lwppagelayout.cxx +++ b/lotuswordpro/source/filter/lwppagelayout.cxx @@ -79,7 +79,7 @@ LwpPageLayout::LwpPageLayout(LwpObjectHeader &objHdr, LwpSvStream* pStrm) , m_nPrinterBin(0) , m_nBdroffset(0) , m_pPaperName(new LwpAtomHolder) - , m_pXFPageMaster(NULL) + , m_pXFPageMaster(nullptr) { } @@ -269,7 +269,7 @@ void LwpPageLayout::ParseFootNoteSeparator(XFPageMaster * pm1) { LwpObjectID* pFontnodeId = pDocument->GetValidFootnoteOpts(); - LwpFootnoteOptions* pFootnoteOpts = pFontnodeId ? dynamic_cast<LwpFootnoteOptions*>(pFontnodeId->obj().get()) : NULL; + LwpFootnoteOptions* pFootnoteOpts = pFontnodeId ? dynamic_cast<LwpFootnoteOptions*>(pFontnodeId->obj().get()) : nullptr; if(pFootnoteOpts) { LwpFootnoteSeparatorOptions& rFootnoteSep = pFootnoteOpts->GetFootnoteSeparator(); @@ -497,7 +497,7 @@ void LwpPageLayout::ResetXFColumns() { if(m_pXFPageMaster) { - m_pXFPageMaster->SetColumns(NULL); + m_pXFPageMaster->SetColumns(nullptr); } } @@ -510,7 +510,7 @@ LwpHeaderLayout* LwpPageLayout::GetHeaderLayout() return ( static_cast<LwpHeaderLayout*> (pLay) ); pLay = dynamic_cast<LwpVirtualLayout*> (pLay->GetNext().obj().get()); } - return NULL; + return nullptr; } LwpFooterLayout* LwpPageLayout::GetFooterLayout() @@ -522,7 +522,7 @@ LwpFooterLayout* LwpPageLayout::GetFooterLayout() return ( static_cast<LwpFooterLayout*> (pLay) ); pLay = dynamic_cast<LwpVirtualLayout*> (pLay->GetNext().obj().get()); } - return NULL; + return nullptr; } /** @@ -548,7 +548,7 @@ LwpPageLayout* LwpPageLayout::GetOddChildLayout() pLay = dynamic_cast<LwpVirtualLayout*> (pLay->GetNext().obj().get()); } } - return NULL; + return nullptr; } /** @@ -719,7 +719,7 @@ LwpPara* LwpPageLayout::GetPagePosition() LwpFoundry* pFoundry = GetFoundry(); if(pFoundry) { - LwpSection* pSection = NULL; + LwpSection* pSection = nullptr; while( (pSection = pFoundry->EnumSections(pSection)) ) { if(pSection->GetPageLayout() == this) @@ -727,7 +727,7 @@ LwpPara* LwpPageLayout::GetPagePosition() } } - return NULL; + return nullptr; } LwpHeaderLayout::LwpHeaderLayout( LwpObjectHeader &objHdr, LwpSvStream* pStrm ) : LwpPlacableLayout(objHdr, pStrm) |