summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/simplemail/smplmailsuppl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/win32/simplemail/smplmailsuppl.cxx b/shell/source/win32/simplemail/smplmailsuppl.cxx
index 8e6cdfcd2403..8fbd89b21c95 100644
--- a/shell/source/win32/simplemail/smplmailsuppl.cxx
+++ b/shell/source/win32/simplemail/smplmailsuppl.cxx
@@ -79,7 +79,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
shell_CSmplMailSuppl_get_implementation(
css::uno::XComponentContext* , css::uno::Sequence<css::uno::Any> const&)
{
- return cppu::acquire(static_cast<cppu::OWeakObject*>(new CSmplMailSuppl()));
+ return cppu::acquire(new CSmplMailSuppl());
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */