summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxpointer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/vclxpointer.cxx')
-rw-r--r--toolkit/source/awt/vclxpointer.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/awt/vclxpointer.cxx b/toolkit/source/awt/vclxpointer.cxx
index 0a646511a054..d2fda845811c 100644
--- a/toolkit/source/awt/vclxpointer.cxx
+++ b/toolkit/source/awt/vclxpointer.cxx
@@ -47,9 +47,9 @@ VCLXPointer::~VCLXPointer()
::com::sun::star::uno::Any VCLXPointer::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::XPointer*, this ),
- SAL_STATIC_CAST( ::com::sun::star::lang::XUnoTunnel*, this ),
- SAL_STATIC_CAST( ::com::sun::star::lang::XTypeProvider*, this ) );
+ (static_cast< ::com::sun::star::awt::XPointer* >(this)),
+ (static_cast< ::com::sun::star::lang::XUnoTunnel* >(this)),
+ (static_cast< ::com::sun::star::lang::XTypeProvider* >(this)) );
return (aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ));
}