summaryrefslogtreecommitdiff
path: root/oox/source/ole/oleobjecthelper.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-03-04 09:34:37 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-03-04 18:43:38 +0100
commitf566585f0882e65778c424640b9312cb19b007b9 (patch)
tree4d04704fd40ab4178de529d8ab7795ce227f5b8a /oox/source/ole/oleobjecthelper.cxx
parentf1659922a6e152f6a38ab13d7cb308b5728db16c (diff)
remove the inheritance to std::map in PropertyMap
Change-Id: Iaaf5b7ab47ffa151cd7c8ea376763d02c883f377
Diffstat (limited to 'oox/source/ole/oleobjecthelper.cxx')
-rw-r--r--oox/source/ole/oleobjecthelper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/oox/source/ole/oleobjecthelper.cxx b/oox/source/ole/oleobjecthelper.cxx
index 9c43b5425985..efa94eb56a05 100644
--- a/oox/source/ole/oleobjecthelper.cxx
+++ b/oox/source/ole/oleobjecthelper.cxx
@@ -86,7 +86,7 @@ bool OleObjectHelper::importOleObject( PropertyMap& rPropMap, const OleObjectInf
// linked OLE object - set target URL
if( !rOleObject.maTargetLink.isEmpty() )
{
- rPropMap[ PROP_LinkURL ] <<= rOleObject.maTargetLink;
+ rPropMap.setProperty( PROP_LinkURL, rOleObject.maTargetLink);
bRet = true;
}
}
@@ -107,7 +107,7 @@ bool OleObjectHelper::importOleObject( PropertyMap& rPropMap, const OleObjectInf
OUString aPersistName = aUrl.copy( maEmbeddedObjScheme.getLength() );
if( !aPersistName.isEmpty() )
{
- rPropMap[ PROP_PersistName ] <<= aPersistName;
+ rPropMap.setProperty( PROP_PersistName, aPersistName);
bRet = true;
}
}
@@ -118,8 +118,8 @@ bool OleObjectHelper::importOleObject( PropertyMap& rPropMap, const OleObjectInf
if( bRet )
{
- rPropMap[ PROP_Aspect ] <<= (rOleObject.mbShowAsIcon ? Aspects::MSOLE_ICON : Aspects::MSOLE_CONTENT);
- rPropMap[ PROP_VisualArea ] <<= awt::Rectangle( 0, 0, rObjSize.Width, rObjSize.Height );
+ rPropMap.setProperty( PROP_Aspect, (rOleObject.mbShowAsIcon ? Aspects::MSOLE_ICON : Aspects::MSOLE_CONTENT));
+ rPropMap.setProperty( PROP_VisualArea, awt::Rectangle( 0, 0, rObjSize.Width, rObjSize.Height ));
}
return bRet;
}