summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdcrtv.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svdcrtv.cxx')
-rw-r--r--svx/source/svdraw/svdcrtv.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdcrtv.cxx b/svx/source/svdraw/svdcrtv.cxx
index cd9f8880cbac..2e97cb78026c 100644
--- a/svx/source/svdraw/svdcrtv.cxx
+++ b/svx/source/svdraw/svdcrtv.cxx
@@ -477,7 +477,7 @@ bool SdrCreateView::ImpBegCreateObj(sal_uInt32 nInvent, sal_uInt16 nIdent, const
if (!rLogRect.IsEmpty()) pAktCreate->NbcSetLogicRect(rLogRect);
// make sure drag start point is inside WorkArea
- const Rectangle& rWorkArea = ((SdrDragView*)this)->GetWorkArea();
+ const Rectangle& rWorkArea = GetWorkArea();
if(!rWorkArea.IsEmpty())
{