summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxcontainer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/vclxcontainer.cxx')
-rw-r--r--toolkit/source/awt/vclxcontainer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxcontainer.cxx b/toolkit/source/awt/vclxcontainer.cxx
index 5f4685c08077..7f48b8d0a849 100644
--- a/toolkit/source/awt/vclxcontainer.cxx
+++ b/toolkit/source/awt/vclxcontainer.cxx
@@ -60,8 +60,8 @@ VCLXContainer::~VCLXContainer()
::com::sun::star::uno::Any VCLXContainer::queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException)
{
::com::sun::star::uno::Any aRet = ::cppu::queryInterface( rType,
- SAL_STATIC_CAST( ::com::sun::star::awt::XVclContainer*, this ),
- SAL_STATIC_CAST( ::com::sun::star::awt::XVclContainerPeer*, this ) );
+ (static_cast< ::com::sun::star::awt::XVclContainer* >(this)),
+ (static_cast< ::com::sun::star::awt::XVclContainerPeer* >(this)) );
return (aRet.hasValue() ? aRet : VCLXWindow::queryInterface( rType ));
}