summaryrefslogtreecommitdiff
path: root/vcl/win/dtrans/target.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/win/dtrans/target.cxx')
-rw-r--r--vcl/win/dtrans/target.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/dtrans/target.cxx b/vcl/win/dtrans/target.cxx
index 32cf95ffa647..8f48cd2d2bec 100644
--- a/vcl/win/dtrans/target.cxx
+++ b/vcl/win/dtrans/target.cxx
@@ -640,7 +640,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
dtrans_DropTarget_get_implementation(
css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any> const&)
{
- return cppu::acquire(static_cast<cppu::OWeakObject*>(new DropTarget(context)));
+ return cppu::acquire(new DropTarget(context));
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */