User: hr      
Date: 2007-08-03 12:44:10+0000
Modified:
   dba/reportdesign/source/core/sdr/RptObject.cxx

Log:
 INTEGRATION: CWS rpt23fix02 (1.3.4); FILE MERGED
 2007/07/25 10:32:00 oj 1.3.4.2: #i79963# check for empty prop name
 2007/07/24 12:48:04 oj 1.3.4.1: merge from rpt23fix01

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.4&r2=1.5
Delta lines:  +4 -0
-------------------
--- RptObject.cxx       2007-08-02 14:32:23+0000        1.4
+++ RptObject.cxx       2007-08-03 12:44:07+0000        1.5
@@ -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