diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:14:16 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:24 +0100 |
commit | 217f7f236fd0ef0535cf11de35807bc5f1de9bb6 (patch) | |
tree | f49d8a62e6500bd025853388b5dd9d33de357b9a /include/editeng/svxrtf.hxx | |
parent | 6bab3811c374e3185ea07e7cb0d08f8b90ef81aa (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I9fe00eef7ddcd4a3c87e497a8d62f98e71a0d6d8
Diffstat (limited to 'include/editeng/svxrtf.hxx')
-rw-r--r-- | include/editeng/svxrtf.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/editeng/svxrtf.hxx b/include/editeng/svxrtf.hxx index abe06ea0dac2..d521f1f1499f 100644 --- a/include/editeng/svxrtf.hxx +++ b/include/editeng/svxrtf.hxx @@ -59,7 +59,7 @@ class ContentNode; class EditNodeIdx { public: - EditNodeIdx(EditEngine* pEE, ContentNode* pNd = NULL); + EditNodeIdx(EditEngine* pEE, ContentNode* pNd = nullptr); ~EditNodeIdx() {} sal_Int32 GetIdx() const; EditNodeIdx* Clone() const; // Cloning itself @@ -269,7 +269,7 @@ protected: // Read Document-Info css::util::DateTime GetDateTimeStamp( ); OUString& GetTextToEndGroup( OUString& rStr ); - void ReadInfo( const sal_Char* pChkForVerNo = 0 ); + void ReadInfo( const sal_Char* pChkForVerNo = nullptr ); inline SfxItemSet& GetAttrSet(); // no text yet inserted? (SttPos from the top stack entry!) @@ -395,7 +395,7 @@ inline const Color& SvxRTFParser::GetColor( size_t nId ) const inline SfxItemSet& SvxRTFParser::GetAttrSet() { SvxRTFItemStackType* pTmp; - if( bNewGroup || 0 == ( pTmp = aAttrStack.empty() ? 0 : aAttrStack.back()) ) + if( bNewGroup || nullptr == ( pTmp = aAttrStack.empty() ? nullptr : aAttrStack.back()) ) pTmp = _GetAttrSet(); return pTmp->aAttrSet; } |