From d2f9f27774ec138c9f66c55f582a123d8ebd19ff Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 30 Mar 2016 18:59:54 +0200 Subject: loplugin:nullptr: Find some more cases in templates Change-Id: I1f127d56e40b04f2b4df85c0afbcfd424d68a8cc --- ucb/source/inc/regexpmap.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ucb/source/inc') diff --git a/ucb/source/inc/regexpmap.hxx b/ucb/source/inc/regexpmap.hxx index ab714ed6f793..45a64fdb68f6 100644 --- a/ucb/source/inc/regexpmap.hxx +++ b/ucb/source/inc/regexpmap.hxx @@ -75,7 +75,7 @@ struct RegexpMapImpl List< Val > m_aList[Regexp::KIND_DOMAIN + 1]; Entry< Val > * m_pDefault; - RegexpMapImpl(): m_pDefault(0) {} + RegexpMapImpl(): m_pDefault(nullptr) {} ~RegexpMapImpl() { delete m_pDefault; } }; @@ -126,7 +126,7 @@ private: template< typename Val > inline RegexpMapIterImpl< Val >::RegexpMapIterImpl(): m_aEntry(rtl::OUString(), 0), - m_pMap(0), + m_pMap(nullptr), m_nList(-1), m_bEntrySet(false) {} -- cgit v1.2.3