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.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabvwshb.cxx b/sc/source/ui/view/tabvwshb.cxx
index 034fa38d2296..062a02f82247 100644
--- a/sc/source/ui/view/tabvwshb.cxx
+++ b/sc/source/ui/view/tabvwshb.cxx
@@ -372,8 +372,7 @@ void ScTabViewShell::ExecDrawIns(SfxRequest& rReq)
if ( pClient && pClient->IsObjectInPlaceActive() )
{
- const SfxRectangleItem& rRect =
- static_cast<const SfxRectangleItem&>(rReq.GetArgs()->Get(SID_OBJECTRESIZE));
+ const SfxRectangleItem& rRect = rReq.GetArgs()->Get(SID_OBJECTRESIZE);
tools::Rectangle aRect( pWin->PixelToLogic( rRect.GetValue() ) );
if ( pView->AreObjectsMarked() )