summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlctxt.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:25:48 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:53 +0100
commit01b49802c7cda7fd4d5ba71263cef7bc95234b89 (patch)
treeb8d92f1c6abf5ac548d0bcb0c581ebfcffd8bfac /sw/source/filter/html/htmlctxt.cxx
parent6cd7bf2043146a630925a2e49336f02c802f707a (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
Diffstat (limited to 'sw/source/filter/html/htmlctxt.cxx')
-rw-r--r--sw/source/filter/html/htmlctxt.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/filter/html/htmlctxt.cxx b/sw/source/filter/html/htmlctxt.cxx
index e333bb78c52c..669a46862d44 100644
--- a/sw/source/filter/html/htmlctxt.cxx
+++ b/sw/source/filter/html/htmlctxt.cxx
@@ -62,7 +62,7 @@ class _HTMLAttrContext_SaveDoc
public:
_HTMLAttrContext_SaveDoc() :
- pPos( 0 ), pAttrTab( 0 ),
+ pPos( nullptr ), pAttrTab( nullptr ),
nContextStMin( SIZE_MAX ), nContextStAttrMin( SIZE_MAX ),
bStripTrailingPara( false ), bKeepNumRules( false ),
bFixHeaderDist( false ), bFixFooterDist( false )
@@ -120,7 +120,7 @@ _HTMLAttrContext_SaveDoc *_HTMLAttrContext::GetSaveDocContext( bool bCreate )
void _HTMLAttrContext::ClearSaveDocContext()
{
delete pSaveDocContext;
- pSaveDocContext = 0;
+ pSaveDocContext = nullptr;
}
void SwHTMLParser::SplitAttrTab( const SwPosition& rNewPos )
@@ -212,7 +212,7 @@ void SwHTMLParser::SplitAttrTab( const SwPosition& rNewPos )
pAttr->nEndPara = rNewSttPara;
pAttr->nSttContent = nNewSttCnt;
pAttr->nEndContent = nNewSttCnt;
- pAttr->pPrev = 0;
+ pAttr->pPrev = nullptr;
pAttr = pNext;
}
@@ -522,7 +522,7 @@ void SwHTMLParser::InsertAttrs( SfxItemSet &rItemSet,
const SfxPoolItem *pItem = aIter.FirstItem();
while( pItem )
{
- _HTMLAttr **ppAttr = 0;
+ _HTMLAttr **ppAttr = nullptr;
switch( pItem->Which() )
{
@@ -589,7 +589,7 @@ void SwHTMLParser::InsertAttrs( SfxItemSet &rItemSet,
aLRItem.SetTextLeft( nLeft );
aLRItem.SetRight( nRight );
NewAttr( &m_aAttrTab.pLRSpace, aLRItem );
- EndAttr( m_aAttrTab.pLRSpace, 0, false );
+ EndAttr( m_aAttrTab.pLRSpace, nullptr, false );
}
break;