diff options
Diffstat (limited to 'sd/source/ui/func/fusel.cxx')
-rw-r--r-- | sd/source/ui/func/fusel.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sd/source/ui/func/fusel.cxx b/sd/source/ui/func/fusel.cxx index 6347f5189778..0b0c1d41eb47 100644 --- a/sd/source/ui/func/fusel.cxx +++ b/sd/source/ui/func/fusel.cxx @@ -675,9 +675,8 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt) * Toggle between selection and rotation **************************************************************/ SdrObject* pSingleObj = NULL; - sal_uLong nMarkCount = mpView->GetMarkedObjectList().GetMarkCount(); - if (nMarkCount==1) + if (mpView->GetMarkedObjectList().GetMarkCount()==1) { pSingleObj = mpView->GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj(); } @@ -803,7 +802,7 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt) pHdl = NULL; mpWindow->ReleaseMouse(); SdrObject* pSingleObj = NULL; - sal_uLong nMarkCount = mpView->GetMarkedObjectList().GetMarkCount(); + const size_t nMarkCount = mpView->GetMarkedObjectList().GetMarkCount(); if (nMarkCount==1) { |