summaryrefslogtreecommitdiff
path: root/sw/source/core/view/vdraw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/view/vdraw.cxx')
-rw-r--r--sw/source/core/view/vdraw.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/view/vdraw.cxx b/sw/source/core/view/vdraw.cxx
index 9d808613653a..c9bf7159e5cd 100644
--- a/sw/source/core/view/vdraw.cxx
+++ b/sw/source/core/view/vdraw.cxx
@@ -213,7 +213,7 @@ void SwViewShellImp::NotifySizeChg( const Size &rNewSz )
if( !pObj->ISA(SwVirtFlyDrawObj) )
{
// Objects not anchored to the frame, do not need to be adjusted
- const SwContact *pCont = (SwContact*)GetUserCall(pObj);
+ const SwContact *pCont = GetUserCall(pObj);
// this function might be called by the InsertDocument, when
// a PageDesc-Attribute is set on a node. Then the SdrObject
// must not have an UserCall.