diff options
author | Noel Power <noel.power@novell.com> | 2011-10-04 11:53:44 +0100 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2011-10-04 11:58:34 +0100 |
commit | 93580dbf2367d15c2c1c8c3d8b3f154ed0d67e14 (patch) | |
tree | 54120fa346e1c5fb537db13ab352358f6b11ecd1 /sc | |
parent | ae3a5e9c2d426ffed6d5fe53ebeb1113087903c4 (diff) |
bnc#705977 apply control name before control is inserted into Forms container
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xiescher.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx index 0c04214f60ac..2d8885508f8c 100644 --- a/sc/source/filter/excel/xiescher.cxx +++ b/sc/source/filter/excel/xiescher.cxx @@ -3342,6 +3342,8 @@ SdrObject* XclImpDffConverter::CreateSdrObject( const XclImpPictureObj& rPicObj, // ReadOCXExcelKludgeStream( ) if ( xFComp.is() ) { + ScfPropertySet aPropSet( xFComp ); + aPropSet.SetStringProperty( CREATE_OUSTRING( "Name" ), rPicObj.GetObjName() ); InsertControl( xFComp, aSz,&xShape,true); xSdrObj.reset( rPicObj.CreateSdrObjectFromShape( xShape, rAnchorRect ) ); } |