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/source/core/unocore/unotextmarkup.cxx | |
parent | 6cd7bf2043146a630925a2e49336f02c802f707a (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
Diffstat (limited to 'sw/source/core/unocore/unotextmarkup.cxx')
-rw-r--r-- | sw/source/core/unocore/unotextmarkup.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/unocore/unotextmarkup.cxx b/sw/source/core/unocore/unotextmarkup.cxx index ac213148556a..e6f4d44fcc50 100644 --- a/sw/source/core/unocore/unotextmarkup.cxx +++ b/sw/source/core/unocore/unotextmarkup.cxx @@ -99,8 +99,8 @@ void SAL_CALL SwXTextMarkup::commitTextRangeMarkup(::sal_Int32 nType, const OUSt if(!xRangeTunnel.is()) return; - SwXTextRange* pRange = 0; - OTextCursorHelper* pCursor = 0; + SwXTextRange* pRange = nullptr; + OTextCursorHelper* pCursor = nullptr; if(xRangeTunnel.is()) { @@ -151,7 +151,7 @@ void SAL_CALL SwXTextMarkup::commitStringMarkup( return; // get appropriate list to use... - SwWrongList* pWList = 0; + SwWrongList* pWList = nullptr; bool bRepaint = false; if ( nType == text::TextMarkupType::SPELLCHECK ) { @@ -423,7 +423,7 @@ throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) return; // get appropriate list to use... - SwGrammarMarkUp* pWList = 0; + SwGrammarMarkUp* pWList = nullptr; bool bRepaint = false; IGrammarContact *pGrammarContact = getGrammarContact(*m_pImpl->m_pTextNode); if( pGrammarContact ) @@ -484,7 +484,7 @@ void SwXTextMarkup::Impl::Modify( const SfxPoolItem* /*pOld*/, const SfxPoolItem if ( GetRegisteredIn() ) GetRegisteredInNonConst()->Remove( this ); - m_pTextNode = 0; + m_pTextNode = nullptr; } SwXStringKeyMap::SwXStringKeyMap() |