diff options
Diffstat (limited to 'vcl/win/dtrans/WinClipboard.cxx')
-rw-r--r-- | vcl/win/dtrans/WinClipboard.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/dtrans/WinClipboard.cxx b/vcl/win/dtrans/WinClipboard.cxx index 5ec56690b17e..2253c1691785 100644 --- a/vcl/win/dtrans/WinClipboard.cxx +++ b/vcl/win/dtrans/WinClipboard.cxx @@ -345,7 +345,7 @@ dtrans_CWinClipboard_get_implementation(css::uno::XComponentContext* context, } else { - return cppu::acquire(static_cast<cppu::OWeakObject*>(new CWinClipboard(context, ""))); + return cppu::acquire(new CWinClipboard(context, "")); } } |