summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewfun7.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/viewfun7.cxx')
-rw-r--r--sc/source/ui/view/viewfun7.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/viewfun7.cxx b/sc/source/ui/view/viewfun7.cxx
index 47004061ec3d..fef41354be2b 100644
--- a/sc/source/ui/view/viewfun7.cxx
+++ b/sc/source/ui/view/viewfun7.cxx
@@ -150,8 +150,8 @@ void ScViewFunc::PasteDraw( const Point& rLogicPos, SdrModel* pModel,
SdrMarkList aMark = pDragEditView->GetMarkedObjectList();
aMark.ForceSort();
- sal_uLong nMarkAnz=aMark.GetMarkCount();
- for (sal_uLong nm=0; nm<nMarkAnz; nm++) {
+ const size_t nMarkAnz=aMark.GetMarkCount();
+ for (size_t nm=0; nm<nMarkAnz; ++nm) {
const SdrMark* pM=aMark.GetMark(nm);
const SdrObject* pObj=pM->GetMarkedSdrObj();