diff options
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/controls/unocontrolcontainer.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/toolkit/source/controls/unocontrolcontainer.cxx b/toolkit/source/controls/unocontrolcontainer.cxx index 21219a8a325b..ccdea4e41a76 100644 --- a/toolkit/source/controls/unocontrolcontainer.cxx +++ b/toolkit/source/controls/unocontrolcontainer.cxx @@ -754,8 +754,7 @@ void UnoControlContainer::createPeer( const uno::Reference< awt::XToolkit >& rxT implUpdateVisibility( nDialogStep, xContainer ); uno::Reference< beans::XPropertyChangeListener > xListener = - static_cast< beans::XPropertyChangeListener* >( - new DialogStepChangedListener( xContainer ) ); + new DialogStepChangedListener(xContainer); xPSet->addPropertyChangeListener( aPropName, xListener ); } |