summaryrefslogtreecommitdiff
path: root/vcl/source/window/syschild.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/syschild.cxx')
-rw-r--r--vcl/source/window/syschild.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/syschild.cxx b/vcl/source/window/syschild.cxx
index 2cc2d3adef69..50bdd7e0ba08 100644
--- a/vcl/source/window/syschild.cxx
+++ b/vcl/source/window/syschild.cxx
@@ -52,7 +52,7 @@ using namespace ::com::sun::star;
long ImplSysChildProc( void* pInst, SalObject* /* pObject */,
sal_uInt16 nEvent, const void* /* pEvent */ )
{
- SystemChildWindow* pWindow = (SystemChildWindow*)pInst;
+ SystemChildWindow* pWindow = static_cast<SystemChildWindow*>(pInst);
long nRet = 0;
ImplDelData aDogTag( pWindow );