summaryrefslogtreecommitdiff
path: root/filter/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-20 19:57:05 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-21 07:35:07 +0100
commitc5346d44647b4bc3277d24f5e9c922774d981d7f (patch)
tree96ee6a580c72c9447939ac25694511979232c1e9 /filter/source
parentc7d59ad8772ffbc7b66a79797a30470a67b1b306 (diff)
loplugin:subtlezeroinit: filter
Change-Id: I4842b8a82f7fe3a4a5c33da2780ced61d66293ba
Diffstat (limited to 'filter/source')
-rw-r--r--filter/source/msfilter/util.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/msfilter/util.cxx b/filter/source/msfilter/util.cxx
index 607791f96a1f..714d74df6604 100644
--- a/filter/source/msfilter/util.cxx
+++ b/filter/source/msfilter/util.cxx
@@ -1186,7 +1186,7 @@ const char* GetOOXMLPresetGeometry( const char* sShapeType )
{
if( pCustomShapeTypeTranslationHashMap == nullptr )
{
- pCustomShapeTypeTranslationHashMap = new CustomShapeTypeTranslationHashMap ();
+ pCustomShapeTypeTranslationHashMap = new CustomShapeTypeTranslationHashMap;
for(const msfilter::util::CustomShapeTypeTranslationTable& i : pCustomShapeTypeTranslationTable)
{
(*pCustomShapeTypeTranslationHashMap)[ i.sOOo ] = i.sMSO;
@@ -1206,7 +1206,7 @@ MSO_SPT GETVMLShapeType(const OString& aType)
if (!pDMLToVMLMap)
{
- pDMLToVMLMap = new DMLToVMLTranslationHashMap();
+ pDMLToVMLMap = new DMLToVMLTranslationHashMap;
for (auto& i : pDMLToVMLTable)
(*pDMLToVMLMap)[i.sDML] = i.nVML;
}