summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/unocontrolcontainer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/controls/unocontrolcontainer.cxx')
-rw-r--r--toolkit/source/controls/unocontrolcontainer.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/controls/unocontrolcontainer.cxx b/toolkit/source/controls/unocontrolcontainer.cxx
index a10a799fcd94..c3e3e03616ad 100644
--- a/toolkit/source/controls/unocontrolcontainer.cxx
+++ b/toolkit/source/controls/unocontrolcontainer.cxx
@@ -792,12 +792,12 @@ void UnoControlContainer::createPeer( const uno::Reference< awt::XToolkit >& rxT
sal_Int32 nDialogStep = 0;
aVal >>= nDialogStep;
uno::Reference< awt::XControlContainer > xContainer =
- SAL_STATIC_CAST( awt::XControlContainer*, this );
+ (static_cast< awt::XControlContainer* >(this));
implUpdateVisibility( nDialogStep, xContainer );
uno::Reference< beans::XPropertyChangeListener > xListener =
- SAL_STATIC_CAST( beans::XPropertyChangeListener*,
- new DialogStepChangedListener( xContainer ) );
+ (static_cast< beans::XPropertyChangeListener* >(
+ new DialogStepChangedListener( xContainer ) ) );
xPSet->addPropertyChangeListener( aPropName, xListener );
}