From 413771fa32815672afc6b7799c1433f523088811 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Wed, 8 Oct 2014 21:48:43 +0900 Subject: fdo#75757: remove inheritance to std::map MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit from ItemFormatMap. Change-Id: I956b5797e677d22eb71fe801b650db7c982d6d51 Reviewed-on: https://gerrit.libreoffice.org/11854 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- oox/source/dump/dffdumper.cxx | 4 ++-- oox/source/dump/dumperbase.cxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'oox') diff --git a/oox/source/dump/dffdumper.cxx b/oox/source/dump/dffdumper.cxx index c4c73ac70e2e..318a129541ea 100644 --- a/oox/source/dump/dffdumper.cxx +++ b/oox/source/dump/dffdumper.cxx @@ -193,7 +193,7 @@ void DffStreamObject::dumpDffOpt() writeHexItem( "complex-size", nValue, "CONV-DEC" ); String aName; PropType eType = PROPTYPE_BINARY; - ItemFormatMap::const_iterator aIt = maComplexProps.find( nBaseId ); + ::std::map< sal_Int64, ItemFormat >::const_iterator aIt = maComplexProps.find( nBaseId ); if( aIt != maComplexProps.end() ) { const ItemFormat& rItemFmt = aIt->second; @@ -211,7 +211,7 @@ void DffStreamObject::dumpDffOpt() } else { - ItemFormatMap::const_iterator aIt = maSimpleProps.find( nBaseId ); + ::std::map< sal_Int64, ItemFormat >::const_iterator aIt = maSimpleProps.find( nBaseId ); if( aIt != maSimpleProps.end() ) { const ItemFormat& rItemFmt = aIt->second; diff --git a/oox/source/dump/dumperbase.cxx b/oox/source/dump/dumperbase.cxx index 1143e6a284b6..aa0000c3bd3a 100644 --- a/oox/source/dump/dumperbase.cxx +++ b/oox/source/dump/dumperbase.cxx @@ -936,7 +936,7 @@ void ItemFormatMap::insertFormats( const NameListRef& rxNameList ) { if( Base::isValid( rxNameList ) ) for( NameListBase::const_iterator aIt = rxNameList->begin(), aEnd = rxNameList->end(); aIt != aEnd; ++aIt ) - (*this)[ aIt->first ].parse( aIt->second ); + maMap[ aIt->first ].parse( aIt->second ); } ConstList::ConstList( const SharedConfigData& rCfgData ) : @@ -2488,7 +2488,7 @@ void RecordObjectBase::implDump() // record body if( !mbBinaryOnly && cfg().hasName( xRecNames, mnRecId ) ) { - ItemFormatMap::const_iterator aIt = aSimpleRecs.find( mnRecId ); + ::std::map< sal_Int64, ItemFormat >::const_iterator aIt = aSimpleRecs.find( mnRecId ); if( aIt != aSimpleRecs.end() ) dumpItem( aIt->second ); else -- cgit