diff options
Diffstat (limited to 'svx/source/form/navigatortree.cxx')
-rw-r--r-- | svx/source/form/navigatortree.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx index c530948ea002..129c16a08582 100644 --- a/svx/source/form/navigatortree.cxx +++ b/svx/source/form/navigatortree.cxx @@ -84,7 +84,6 @@ namespace svxform typedef ::std::map< Reference< XInterface >, SdrObject*, ::comphelper::OInterfaceCompare< XInterface > > MapModelToShape; - typedef MapModelToShape::value_type ModelShapePair; void collectShapeModelMapping( SdrPage const * _pPage, MapModelToShape& _rMapping ) @@ -105,7 +104,7 @@ namespace svxform // note that this is normalized (i.e. queried for XInterface explicitly) ::std::pair< MapModelToShape::iterator, bool > aPos = - _rMapping.insert( ModelShapePair( xNormalizedModel, pSdrObject ) ); + _rMapping.emplace( xNormalizedModel, pSdrObject ); DBG_ASSERT( aPos.second, "collectShapeModelMapping: model was already existent!" ); // if this asserts, this would mean we have 2 shapes pointing to the same model } |