diff options
Diffstat (limited to 'vcl/win/dtrans/source.cxx')
-rw-r--r-- | vcl/win/dtrans/source.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/dtrans/source.cxx b/vcl/win/dtrans/source.cxx index 81275560a806..fdbb295e33da 100644 --- a/vcl/win/dtrans/source.cxx +++ b/vcl/win/dtrans/source.cxx @@ -297,7 +297,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* dtrans_DragSource_get_implementation( css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any> const&) { - return cppu::acquire(static_cast<cppu::OWeakObject*>(new DragSource(context))); + return cppu::acquire(new DragSource(context)); } /** This function is called as extra thread from |