loplugin:subtlezeroinit: filter
Change-Id: I4842b8a82f7fe3a4a5c33da2780ced61d66293ba
This commit is contained in:
@@ -1186,7 +1186,7 @@ const char* GetOOXMLPresetGeometry( const char* sShapeType )
|
|||||||
{
|
{
|
||||||
if( pCustomShapeTypeTranslationHashMap == nullptr )
|
if( pCustomShapeTypeTranslationHashMap == nullptr )
|
||||||
{
|
{
|
||||||
pCustomShapeTypeTranslationHashMap = new CustomShapeTypeTranslationHashMap ();
|
pCustomShapeTypeTranslationHashMap = new CustomShapeTypeTranslationHashMap;
|
||||||
for(const msfilter::util::CustomShapeTypeTranslationTable& i : pCustomShapeTypeTranslationTable)
|
for(const msfilter::util::CustomShapeTypeTranslationTable& i : pCustomShapeTypeTranslationTable)
|
||||||
{
|
{
|
||||||
(*pCustomShapeTypeTranslationHashMap)[ i.sOOo ] = i.sMSO;
|
(*pCustomShapeTypeTranslationHashMap)[ i.sOOo ] = i.sMSO;
|
||||||
@@ -1206,7 +1206,7 @@ MSO_SPT GETVMLShapeType(const OString& aType)
|
|||||||
|
|
||||||
if (!pDMLToVMLMap)
|
if (!pDMLToVMLMap)
|
||||||
{
|
{
|
||||||
pDMLToVMLMap = new DMLToVMLTranslationHashMap();
|
pDMLToVMLMap = new DMLToVMLTranslationHashMap;
|
||||||
for (auto& i : pDMLToVMLTable)
|
for (auto& i : pDMLToVMLTable)
|
||||||
(*pDMLToVMLMap)[i.sDML] = i.nVML;
|
(*pDMLToVMLMap)[i.sDML] = i.nVML;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user