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/lwppara1.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/lwppara1.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwppara1.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lotuswordpro/source/filter/lwppara1.cxx b/lotuswordpro/source/filter/lwppara1.cxx index 5784d345d1e9..36350507e9f0 100644 --- a/lotuswordpro/source/filter/lwppara1.cxx +++ b/lotuswordpro/source/filter/lwppara1.cxx @@ -180,7 +180,7 @@ LwpPara* LwpPara::GetParent() pPara = dynamic_cast<LwpPara*>(pPara->GetPrevious().obj().get()); } } - return NULL; + return nullptr; } /** @@ -197,7 +197,7 @@ void LwpPara::GetParaNumber(sal_uInt16 nPosition, ParaNumbering* pParaNumbering) } sal_uInt16 nCurrentPos = 0; - LwpFrib* pPreFrib = NULL; + LwpFrib* pPreFrib = nullptr; LwpFrib* pFrib = m_Fribs.GetFribs(); if (!pFrib) { @@ -577,7 +577,7 @@ LwpParaProperty* LwpPara::GetProperty(sal_uInt32 nPropType) pProps = pProps->GetNext(); } - return NULL; + return nullptr; } /************************************************************************** @@ -590,7 +590,7 @@ LwpTabOverride* LwpPara::GetLocalTabOverride() { return static_cast<LwpParaTabRackProperty*>(pProp)->GetTab(); } - return NULL; + return nullptr; } /** @@ -618,7 +618,7 @@ bool LwpPara::ComparePagePosition(LwpVirtualLayout * pPreLayout, LwpVirtualLayou bool LwpPara::IsInCell() { LwpStory *pStory = GetStory(); - LwpVirtualLayout* pLayout = pStory ? pStory->GetLayout(NULL) : NULL; + LwpVirtualLayout* pLayout = pStory ? pStory->GetLayout(nullptr) : nullptr; if(pLayout && pLayout->IsCell()) return true; return false; |