diff options
Diffstat (limited to 'dbaccess/source/sdbtools/connection/connectiontools.cxx')
-rw-r--r-- | dbaccess/source/sdbtools/connection/connectiontools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/sdbtools/connection/connectiontools.cxx b/dbaccess/source/sdbtools/connection/connectiontools.cxx index 65db1c64907a..5dd408bac847 100644 --- a/dbaccess/source/sdbtools/connection/connectiontools.cxx +++ b/dbaccess/source/sdbtools/connection/connectiontools.cxx @@ -127,6 +127,6 @@ extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* com_sun_star_comp_dbaccess_ConnectionTools_get_implementation( css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any> const& ) { - return cppu::acquire(static_cast<cppu::OWeakObject*>(new sdbtools::ConnectionTools(context))); + return cppu::acquire(new sdbtools::ConnectionTools(context)); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |