From c5346d44647b4bc3277d24f5e9c922774d981d7f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 20 Feb 2017 19:57:05 +0100 Subject: [PATCH] loplugin:subtlezeroinit: filter Change-Id: I4842b8a82f7fe3a4a5c33da2780ced61d66293ba --- filter/source/msfilter/util.cxx | 4 ++-- 1 file 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; }