summaryrefslogtreecommitdiff
path: root/cppuhelper/source/exc_thrower.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/source/exc_thrower.cxx')
-rw-r--r--cppuhelper/source/exc_thrower.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/exc_thrower.cxx b/cppuhelper/source/exc_thrower.cxx
index edf7b8948728..5e029feae982 100644
--- a/cppuhelper/source/exc_thrower.cxx
+++ b/cppuhelper/source/exc_thrower.cxx
@@ -134,7 +134,7 @@ Any ExceptionThrower::queryInterface( Type const & type )
if (type.equals( cppu::UnoType<XInterface>::get() ) ||
type.equals( ExceptionThrower::getCppuType() ))
{
- XExceptionThrower * that = static_cast< XExceptionThrower * >( this );
+ XExceptionThrower * that = this;
return Any( &that, type );
}
return Any();