diff options
Diffstat (limited to 'toolkit/source/awt/vclxfont.cxx')
-rw-r--r-- | toolkit/source/awt/vclxfont.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/source/awt/vclxfont.cxx b/toolkit/source/awt/vclxfont.cxx index d44e68b2b0bc..6b9e9cec0e10 100644 --- a/toolkit/source/awt/vclxfont.cxx +++ b/toolkit/source/awt/vclxfont.cxx @@ -82,10 +82,10 @@ sal_Bool VCLXFont::ImplAssertValidFontMetric() ::com::sun::star::uno::Any VCLXFont::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::XFont*, this ), - SAL_STATIC_CAST( ::com::sun::star::awt::XFont2*, 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::XFont* >(this)), + (static_cast< ::com::sun::star::awt::XFont2* >(this)), + (static_cast< ::com::sun::star::lang::XUnoTunnel* >(this)), + (static_cast< ::com::sun::star::lang::XTypeProvider* >(this)) ); return (aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType )); } |