diff options
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/dlged/dlged.cxx | 8 | ||||
-rw-r--r-- | basctl/source/dlged/propbrw.cxx | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx index b4f0d27bb8f1..c34a3b7e2602 100644 --- a/basctl/source/dlged/dlged.cxx +++ b/basctl/source/dlged/dlged.cxx @@ -704,8 +704,8 @@ void DlgEditor::Copy() } // insert control models of marked objects into clipboard dialog model - sal_uLong nMark = pDlgEdView->GetMarkedObjectList().GetMarkCount(); - for( sal_uLong i = 0; i < nMark; i++ ) + const size_t nMark = pDlgEdView->GetMarkedObjectList().GetMarkCount(); + for( size_t i = 0; i < nMark; ++i ) { SdrObject* pObj = pDlgEdView->GetMarkedObjectList().GetMark(i)->GetMarkedSdrObj(); DlgEdObj* pDlgEdObj = dynamic_cast<DlgEdObj*>(pObj); @@ -1017,9 +1017,9 @@ void DlgEditor::Delete() return; // remove control models of marked objects from dialog model - sal_uLong nMark = pDlgEdView->GetMarkedObjectList().GetMarkCount(); + const size_t nMark = pDlgEdView->GetMarkedObjectList().GetMarkCount(); - for( sal_uLong i = 0; i < nMark; i++ ) + for( size_t i = 0; i < nMark; ++i ) { SdrObject* pObj = pDlgEdView->GetMarkedObjectList().GetMark(i)->GetMarkedSdrObj(); DlgEdObj* pDlgEdObj = dynamic_cast<DlgEdObj*>(pObj); diff --git a/basctl/source/dlged/propbrw.cxx b/basctl/source/dlged/propbrw.cxx index e68f7ebd0a44..c7346c8f3dbf 100644 --- a/basctl/source/dlged/propbrw.cxx +++ b/basctl/source/dlged/propbrw.cxx @@ -236,8 +236,8 @@ Sequence< Reference< XInterface > > Sequence< Reference< XInterface > > aSeq; InterfaceArray aInterfaces; - sal_uInt32 nMarkCount = _rMarkList.GetMarkCount(); - for( sal_uInt32 i = 0 ; i < nMarkCount ; i++ ) + const size_t nMarkCount = _rMarkList.GetMarkCount(); + for( size_t i = 0 ; i < nMarkCount ; ++i ) { SdrObject* pCurrent = _rMarkList.GetMark(i)->GetMarkedSdrObj(); @@ -471,7 +471,7 @@ void PropBrw::ImplUpdate( const Reference< XModel >& _rxContextDocument, SdrView } const SdrMarkList& rMarkList = pView->GetMarkedObjectList(); - sal_uInt32 nMarkCount = rMarkList.GetMarkCount(); + const size_t nMarkCount = rMarkList.GetMarkCount(); if ( nMarkCount == 0 ) { |