diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2011-02-14 16:17:22 +0100 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2011-02-14 16:17:22 +0100 |
commit | 1fb042333fe6287756ff1fac11d18cd7c150730d (patch) | |
tree | 595de5d187177832ce656d7832af9dce9dce2d99 /svx/source/form/fmvwimp.cxx | |
parent | 5b3e910e926c7dd1e8dcfe8e0a5c6cb5bd17480a (diff) | |
parent | cd0d6a5a6775f197fdb7e78b54c8133074a7a236 (diff) |
rebase to DEV300_m100
Diffstat (limited to 'svx/source/form/fmvwimp.cxx')
-rw-r--r-- | svx/source/form/fmvwimp.cxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx index 8e0f6b2a261a..d2b6d6cbded4 100644 --- a/svx/source/form/fmvwimp.cxx +++ b/svx/source/form/fmvwimp.cxx @@ -768,7 +768,7 @@ void FmXFormView::Activate(sal_Bool bSync) } //------------------------------------------------------------------------------ -void FmXFormView::Deactivate(BOOL bDeactivateController) +void FmXFormView::Deactivate(sal_Bool bDeactivateController) { if (m_nActivationEvent) { @@ -1518,7 +1518,7 @@ bool FmXFormView::createControlLabelPair( OutputDevice& _rOutDev, sal_Int32 _nXO bool FmXFormView::createControlLabelPair( const ::comphelper::ComponentContext& _rContext, OutputDevice& _rOutDev, sal_Int32 _nXOffsetMM, sal_Int32 _nYOffsetMM, const Reference< XPropertySet >& _rxField, const Reference< XNumberFormats >& _rxNumberFormats, sal_uInt16 _nControlObjectID, - const ::rtl::OUString& _rFieldPostfix, UINT32 _nInventor, UINT16 _nLabelObjectID, + const ::rtl::OUString& _rFieldPostfix, sal_uInt32 _nInventor, sal_uInt16 _nLabelObjectID, SdrPage* _pLabelPage, SdrPage* _pControlPage, SdrModel* _pModel, SdrUnoObj*& _rpLabel, SdrUnoObj*& _rpControl) { sal_Int32 nDataType = 0; @@ -1690,8 +1690,8 @@ void FmXFormView::ObjectRemovedInAliveMode( const SdrObject* pObject ) // muss ich es jetzt da rausnehmen, da ich sonst beim Zurueckschalten versuche, die Markierung wieder zu setzen // (interesanterweise geht das nur bei gruppierten Objekten schief (beim Zugriff auf deren ObjList GPF), nicht bei einzelnen) - ULONG nCount = m_aMark.GetMarkCount(); - for (ULONG i = 0; i < nCount; ++i) + sal_uIntPtr nCount = m_aMark.GetMarkCount(); + for (sal_uIntPtr i = 0; i < nCount; ++i) { SdrMark* pMark = m_aMark.GetMark(i); SdrObject* pCurrent = pMark->GetMarkedSdrObj(); @@ -1740,8 +1740,8 @@ void FmXFormView::saveMarkList( sal_Bool _bSmartUnmark ) m_aMark = m_pView->GetMarkedObjectList(); if ( _bSmartUnmark ) { - ULONG nCount = m_aMark.GetMarkCount( ); - for ( ULONG i = 0; i < nCount; ++i ) + sal_uIntPtr nCount = m_aMark.GetMarkCount( ); + for ( sal_uIntPtr i = 0; i < nCount; ++i ) { SdrMark* pMark = m_aMark.GetMark(i); SdrObject* pObj = pMark->GetMarkedSdrObj(); @@ -1807,15 +1807,15 @@ void FmXFormView::restoreMarkList( SdrMarkList& _rRestoredMarkList ) sal_Bool bMisMatch = sal_False; // loop through all current marks - ULONG nCurrentCount = rCurrentList.GetMarkCount(); - for ( ULONG i=0; i<nCurrentCount&& !bMisMatch; ++i ) + sal_uIntPtr nCurrentCount = rCurrentList.GetMarkCount(); + for ( sal_uIntPtr i=0; i<nCurrentCount&& !bMisMatch; ++i ) { const SdrObject* pCurrentMarked = rCurrentList.GetMark( i )->GetMarkedSdrObj(); // loop through all saved marks, check for equality sal_Bool bFound = sal_False; - ULONG nSavedCount = m_aMark.GetMarkCount(); - for ( ULONG j=0; j<nSavedCount && !bFound; ++j ) + sal_uIntPtr nSavedCount = m_aMark.GetMarkCount(); + for ( sal_uIntPtr j=0; j<nSavedCount && !bFound; ++j ) { if ( m_aMark.GetMark( j )->GetMarkedSdrObj() == pCurrentMarked ) bFound = sal_True; @@ -1840,8 +1840,8 @@ void FmXFormView::restoreMarkList( SdrMarkList& _rRestoredMarkList ) sal_Bool bFound = sal_True; // gibt es noch alle Objecte - ULONG nCount = m_aMark.GetMarkCount(); - for (ULONG i = 0; i < nCount && bFound; i++) + sal_uIntPtr nCount = m_aMark.GetMarkCount(); + for (sal_uIntPtr i = 0; i < nCount && bFound; i++) { SdrMark* pMark = m_aMark.GetMark(i); SdrObject* pObj = pMark->GetMarkedSdrObj(); @@ -1862,7 +1862,7 @@ void FmXFormView::restoreMarkList( SdrMarkList& _rRestoredMarkList ) // Das LastObject auswerten if (nCount) // Objecte jetzt Markieren { - for (ULONG i = 0; i < nCount; i++) + for (sal_uIntPtr i = 0; i < nCount; i++) { SdrMark* pMark = m_aMark.GetMark(i); SdrObject* pObj = pMark->GetMarkedSdrObj(); @@ -1882,7 +1882,7 @@ void SAL_CALL FmXFormView::focusGained( const FocusEvent& /*e*/ ) throw (Runtime { if ( m_xWindow.is() && m_pView ) { - m_pView->SetMoveOutside( TRUE, FmFormView::ImplAccess() ); + m_pView->SetMoveOutside( sal_True, FmFormView::ImplAccess() ); } } // ----------------------------------------------------------------------------- @@ -1892,7 +1892,7 @@ void SAL_CALL FmXFormView::focusLost( const FocusEvent& /*e*/ ) throw (RuntimeEx // so we can not remove us as focus listener if ( m_xWindow.is() && m_pView ) { - m_pView->SetMoveOutside( FALSE, FmFormView::ImplAccess() ); + m_pView->SetMoveOutside( sal_False, FmFormView::ImplAccess() ); } } // ----------------------------------------------------------------------------- @@ -1903,7 +1903,7 @@ void FmXFormView::removeGridWindowListening() m_xWindow->removeFocusListener(this); if ( m_pView ) { - m_pView->SetMoveOutside( FALSE, FmFormView::ImplAccess() ); + m_pView->SetMoveOutside( sal_False, FmFormView::ImplAccess() ); } m_xWindow = NULL; } |