summaryrefslogtreecommitdiff
path: root/svtools/source/uno/treecontrolpeer.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-20 12:31:30 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-21 07:34:58 +0100
commitb7302c487004e61afdfb7f5961ce2281b2672581 (patch)
tree4b7d793f9e30d6c9012632c44261f220172eab38 /svtools/source/uno/treecontrolpeer.cxx
parente99047fe3bbcc28b651bcb38d0db0800bb8e57d6 (diff)
loplugin:subtlezeroinit: svtools
Change-Id: I10383c62060022838b1e63383b2fce9de9bbfd0e
Diffstat (limited to 'svtools/source/uno/treecontrolpeer.cxx')
-rw-r--r--svtools/source/uno/treecontrolpeer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx
index e2a5cf9bbfea..36a0c862f7b5 100644
--- a/svtools/source/uno/treecontrolpeer.cxx
+++ b/svtools/source/uno/treecontrolpeer.cxx
@@ -159,7 +159,7 @@ void TreeControlPeer::addEntry( UnoTreeListEntry* pEntry )
{
if( !mpTreeNodeMap )
{
- mpTreeNodeMap = new TreeNodeMap();
+ mpTreeNodeMap = new TreeNodeMap;
}
(*mpTreeNodeMap)[ pEntry->mxNode ] = pEntry;