summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/inc/ChildWindowWrapper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/ChildWindowWrapper.hxx')
-rw-r--r--sc/source/ui/inc/ChildWindowWrapper.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/ChildWindowWrapper.hxx b/sc/source/ui/inc/ChildWindowWrapper.hxx
index 3d52f96b0d0a..48938e9ea591 100644
--- a/sc/source/ui/inc/ChildWindowWrapper.hxx
+++ b/sc/source/ui/inc/ChildWindowWrapper.hxx
@@ -62,7 +62,7 @@ public:
virtual SfxChildWinInfo GetInfo() const SAL_OVERRIDE
{
SfxChildWinInfo aInfo = SfxChildWindow::GetInfo();
- ((SfxModelessDialog*)GetWindow())->FillInfo( aInfo );
+ static_cast<SfxModelessDialog*>(GetWindow())->FillInfo( aInfo );
return aInfo;
}