summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxwindow1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/vclxwindow1.cxx')
-rw-r--r--toolkit/source/awt/vclxwindow1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxwindow1.cxx b/toolkit/source/awt/vclxwindow1.cxx
index b4d0f72eb291..46b2e72be883 100644
--- a/toolkit/source/awt/vclxwindow1.cxx
+++ b/toolkit/source/awt/vclxwindow1.cxx
@@ -91,7 +91,7 @@ void VCLXWindow::SetSystemParent_Impl( const com::sun::star::uno::Any& rHandle )
#endif
// set system parent
- ((WorkWindow*)pWindow)->SetPluginParent( &aSysParentData );
+ static_cast<WorkWindow*>(pWindow)->SetPluginParent( &aSysParentData );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */