summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/viewshe2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/viewshe2.cxx')
-rw-r--r--sd/source/ui/view/viewshe2.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/view/viewshe2.cxx b/sd/source/ui/view/viewshe2.cxx
index f5e511d21a0e..707b8ac4c511 100644
--- a/sd/source/ui/view/viewshe2.cxx
+++ b/sd/source/ui/view/viewshe2.cxx
@@ -752,8 +752,7 @@ bool ViewShell::ActivateObject(SdrOle2Obj* pObj, long nVerb)
}
SfxInPlaceClient* pSdClient =
- static_cast<Client*>(pViewShell->FindIPClient(
- pObj->GetObjRef(), GetActiveWindow()));
+ pViewShell->FindIPClient(pObj->GetObjRef(), GetActiveWindow());
if ( !pSdClient )
{