diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:25:48 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:53 +0100 |
commit | 01b49802c7cda7fd4d5ba71263cef7bc95234b89 (patch) | |
tree | b8d92f1c6abf5ac548d0bcb0c581ebfcffd8bfac /sw/inc/redline.hxx | |
parent | 6cd7bf2043146a630925a2e49336f02c802f707a (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
Diffstat (limited to 'sw/inc/redline.hxx')
-rw-r--r-- | sw/inc/redline.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/redline.hxx b/sw/inc/redline.hxx index 9aa157e0c93c..72d590928201 100644 --- a/sw/inc/redline.hxx +++ b/sw/inc/redline.hxx @@ -57,7 +57,7 @@ class SwRedlineExtraData_FormatColl : public SwRedlineExtraData sal_uInt16 nPoolId; public: SwRedlineExtraData_FormatColl( const OUString& rColl, sal_uInt16 nPoolFormatId, - const SfxItemSet* pSet = 0 ); + const SfxItemSet* pSet = nullptr ); virtual ~SwRedlineExtraData_FormatColl(); virtual SwRedlineExtraData* CreateNew() const override; virtual void Reject( SwPaM& rPam ) const override; @@ -121,7 +121,7 @@ public: // For sw3io: pNext/pExtraData are taken over. SwRedlineData( RedlineType_t eT, sal_uInt16 nAut, const DateTime& rDT, const OUString& rCmnt, SwRedlineData* pNxt, - SwRedlineExtraData* pExtraData = 0 ); + SwRedlineExtraData* pExtraData = nullptr ); ~SwRedlineData(); @@ -200,7 +200,7 @@ public: // For sw3io: pData is taken over! SwRangeRedline(SwRedlineData* pData, const SwPosition& rPos, bool bVsbl, bool bDelLP, bool bIsPD) : - SwPaM( rPos ), pRedlineData( pData ), pContentSect( 0 ), + SwPaM( rPos ), pRedlineData( pData ), pContentSect( nullptr ), bDelLastPara( bDelLP ), bIsLastParaDelete( bIsPD ), bIsVisible( bVsbl ) {} SwRangeRedline( const SwRangeRedline& ); @@ -213,12 +213,12 @@ public: bool IsVisible() const { return bIsVisible; } bool IsDelLastPara() const { return bDelLastPara; } - void SetStart( const SwPosition& rPos, SwPosition* pSttPtr = 0 ) + void SetStart( const SwPosition& rPos, SwPosition* pSttPtr = nullptr ) { if( !pSttPtr ) pSttPtr = Start(); *pSttPtr = rPos; } - void SetEnd( const SwPosition& rPos, SwPosition* pEndPtr = 0 ) + void SetEnd( const SwPosition& rPos, SwPosition* pEndPtr = nullptr ) { if( !pEndPtr ) pEndPtr = End(); *pEndPtr = rPos; |