Tag: cws_src680_rpt23fix02
User: oj      
Date: 2007-07-25 10:32:03+0000
Modified:
   dba/reportdesign/source/core/sdr/RptObject.cxx

Log:
 #i79963# check for empty prop name

File Changes:

Directory: /dba/reportdesign/source/core/sdr/
=============================================

File [changed]: RptObject.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/source/core/sdr/RptObject.cxx?r1=1.3.4.1&r2=1.3.4.2
Delta lines:  +4 -0
-------------------
--- RptObject.cxx       2007-07-24 12:48:04+0000        1.3.4.1
+++ RptObject.cxx       2007-07-25 10:32:00+0000        1.3.4.2
@@ -553,6 +553,7 @@
        DBG_CTOR( rpt_OCustomShape, NULL);
     // start listening
     mxUnoShape = uno::Reference< uno::XInterface >(_xComponent,uno::UNO_QUERY);
+    m_bIsListening = sal_True;
 }
 //----------------------------------------------------------------------------
 OCustomShape::OCustomShape(const ::rtl::OUString& _sComponentName)
@@ -560,6 +561,7 @@
                  ,OObjectBase(_sComponentName)
 {
        DBG_CTOR( rpt_OCustomShape, NULL);
+    m_bIsListening = sal_True;
 }
 
 //----------------------------------------------------------------------------
@@ -595,6 +597,8 @@
 
         if ( m_xReportComponent.is() )
         {
+            OReportModel* pRptModel = static_cast<OReportModel*>(GetModel());
+            OXUndoEnvironment::OUndoEnvLock aLock(pRptModel->GetUndoEnv());
             
m_xReportComponent->setPositionX(m_xReportComponent->getPositionX() + 
rSize.A());
             
m_xReportComponent->setPositionY(m_xReportComponent->getPositionY() + 
rSize.B());
         }




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to