summaryrefslogtreecommitdiff
path: root/vcl/source/app/dndhelp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/app/dndhelp.cxx')
-rw-r--r--vcl/source/app/dndhelp.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/app/dndhelp.cxx b/vcl/source/app/dndhelp.cxx
index b940ab7d9a5e..2ee02449773f 100644
--- a/vcl/source/app/dndhelp.cxx
+++ b/vcl/source/app/dndhelp.cxx
@@ -94,10 +94,10 @@ vcl::unohelper::DragAndDropWrapper::~DragAndDropWrapper()
uno::Any vcl::unohelper::DragAndDropWrapper::queryInterface( const uno::Type & rType ) throw(uno::RuntimeException)
{
uno::Any aRet = ::cppu::queryInterface( rType,
- SAL_STATIC_CAST( ::com::sun::star::lang::XEventListener*, (::com::sun::star::datatransfer::dnd::XDragGestureListener*)this ),
- SAL_STATIC_CAST( ::com::sun::star::datatransfer::dnd::XDragGestureListener*, this ),
- SAL_STATIC_CAST( ::com::sun::star::datatransfer::dnd::XDragSourceListener*, this ),
- SAL_STATIC_CAST( ::com::sun::star::datatransfer::dnd::XDropTargetListener*, this ) );
+ (static_cast< ::com::sun::star::lang::XEventListener* >( (::com::sun::star::datatransfer::dnd::XDragGestureListener*)this) ),
+ (static_cast< ::com::sun::star::datatransfer::dnd::XDragGestureListener* >(this)),
+ (static_cast< ::com::sun::star::datatransfer::dnd::XDragSourceListener* >(this)),
+ (static_cast< ::com::sun::star::datatransfer::dnd::XDropTargetListener* >(this)) );
return (aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ));
}