diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-30 18:59:54 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-30 18:59:54 +0200 |
commit | d2f9f27774ec138c9f66c55f582a123d8ebd19ff (patch) | |
tree | b984aa02aab3813d2a9c0ede9ad1e5d0fdf7fdb1 /ucb/source | |
parent | 14060e76e33cfb305c1469fecf7db688bf8a8858 (diff) |
loplugin:nullptr: Find some more cases in templates
Change-Id: I1f127d56e40b04f2b4df85c0afbcfd424d68a8cc
Diffstat (limited to 'ucb/source')
-rw-r--r-- | ucb/source/inc/regexpmap.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
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) {} |