summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviewsg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/drviewsg.cxx')
-rw-r--r--sd/source/ui/view/drviewsg.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/view/drviewsg.cxx b/sd/source/ui/view/drviewsg.cxx
index 2ada0a9cbad7..ad5283574b9b 100644
--- a/sd/source/ui/view/drviewsg.cxx
+++ b/sd/source/ui/view/drviewsg.cxx
@@ -79,9 +79,8 @@ void DrawViewShell::GetIMapState( SfxItemSet& rSet )
if( GetViewFrame()->HasChildWindow( SvxIMapDlgChildWindow::GetChildWindowId() ) )
{
const SdrMarkList& rMarkList = mpDrawView->GetMarkedObjectList();
- sal_uLong nMarkCount = rMarkList.GetMarkCount();
- if ( nMarkCount == 1 )
+ if ( rMarkList.GetMarkCount() == 1 )
{
const SdrObject* pObj = rMarkList.GetMark( 0 )->GetMarkedSdrObj();