[Libreoffice-commits] .: sc/source

Noel Power noelp at kemper.freedesktop.org
Tue Oct 4 03:58:48 PDT 2011


 sc/source/filter/excel/xiescher.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 93580dbf2367d15c2c1c8c3d8b3f154ed0d67e14
Author: Noel Power <noel.power at novell.com>
Date:   Tue Oct 4 11:53:44 2011 +0100

    bnc#705977 apply control name before control is inserted into Forms container

diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx
index 0c04214..2d88855 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 ) );
                      }


More information about the Libreoffice-commits mailing list