summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwshb.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/tabvwshb.cxx')
-rw-r--r--sc/source/ui/view/tabvwshb.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabvwshb.cxx b/sc/source/ui/view/tabvwshb.cxx
index bbf98297f9c8..08400cdce9eb 100644
--- a/sc/source/ui/view/tabvwshb.cxx
+++ b/sc/source/ui/view/tabvwshb.cxx
@@ -497,7 +497,7 @@ void ScTabViewShell::ExecDrawIns(SfxRequest& rReq)
const SfxRectangleItem& rRect = rReq.GetArgs()->Get(SID_OBJECTRESIZE);
tools::Rectangle aRect( pWin->PixelToLogic( rRect.GetValue() ) );
- if ( pView->AreObjectsMarked() )
+ if ( pView->GetMarkedObjectList().GetMarkCount() != 0 )
{
const SdrMarkList& rMarkList = pView->GetMarkedObjectList();