diff options
Diffstat (limited to 'include/oox/dump')
-rw-r--r-- | include/oox/dump/dumperbase.hxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/oox/dump/dumperbase.hxx b/include/oox/dump/dumperbase.hxx index 9e72588d7b79..a747de53bd6f 100644 --- a/include/oox/dump/dumperbase.hxx +++ b/include/oox/dump/dumperbase.hxx @@ -808,12 +808,21 @@ static const NameListWrapper NO_LIST; -class ItemFormatMap : public ::std::map< sal_Int64, ItemFormat > +class ItemFormatMap { +private: + ::std::map< sal_Int64, ItemFormat > maMap; + public: - ItemFormatMap() {} + ItemFormatMap() : maMap() {} explicit ItemFormatMap( const NameListRef& rxNameList ) { insertFormats( rxNameList ); } + ::std::map< sal_Int64, ItemFormat >::const_iterator end() const { return maMap.end(); } + ::std::map< sal_Int64, ItemFormat >::const_iterator find(sal_Int64 nId) const + { + return maMap.find(nId); + } + void insertFormats( const NameListRef& rxNameList ); }; |