User: kz Date: 2008-03-05 18:00:13+0000 Modified: dba/reportdesign/source/core/sdr/RptPage.cxx
Log: INTEGRATION: CWS rptchart01_DEV300 (1.3.62); FILE MERGED 2008/02/19 09:22:31 oj 1.3.62.2: RESYNC: (1.3-1.5); FILE MERGED 2008/01/24 12:39:31 oj 1.3.62.1: #i85225# changes for chart File Changes: Directory: /dba/reportdesign/source/core/sdr/ ============================================= File [changed]: RptPage.cxx Url: http://dba.openoffice.org/source/browse/dba/reportdesign/source/core/sdr/RptPage.cxx?r1=1.5&r2=1.6 Delta lines: +11 -3 -------------------- --- RptPage.cxx 2008-01-30 16:00:26+0000 1.5 +++ RptPage.cxx 2008-03-05 18:00:10+0000 1.6 @@ -250,6 +250,14 @@ uno::Reference< drawing::XShape> xShape(pObj->getUnoShape(),uno::UNO_QUERY); pSection->notifyElementAdded(xShape); + //// check if we are a shape + //uno::Reference<beans::XPropertySet> xProp(xShape,uno::UNO_QUERY); + //if ( xProp.is() && xProp->getPropertySetInfo()->hasPropertyByName(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CLSID"))) ) + //{ + // // use MimeConfigurationHelper::GetStringClassIDRepresentation(MimeConfigurationHelper::GetSequenceClassID(SO3_SCH_OLE_EMBED_CLASSID_8)) + // xProp->setPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CLSID")),uno::makeAny(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("12dcae26-281f-416f-a234-c3086127382e")))); + //} + // now that the shape is inserted into its structures, we can allow the OObjectBase // to release the reference to it OObjectBase* pObjectBase = dynamic_cast< OObjectBase* >( pObj ); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
