summaryrefslogtreecommitdiff
path: root/ucb/source/core
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-03-10 10:03:36 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2021-03-10 16:23:14 +0100
commit7921f47ec6292ea2bd4807423ac46d9dacdd906e (patch)
tree957c3a8ef6b2b851c69af146d7642e61dffa66be /ucb/source/core
parent7ba7a1170a46ad340d06822a03f7196ccef29d84 (diff)
Drop 'static_cast<cppu::OWeakObject*>' syntactic noise
... a leftover from 96388e5e809a48573970df9b6b2649517a08447f. Change-Id: I909a470612c421472d8bf94f80e3e94ecb51d6e3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112257 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'ucb/source/core')
-rw-r--r--ucb/source/core/provprox.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/ucb/source/core/provprox.cxx b/ucb/source/core/provprox.cxx
index 2352aebf8e9a..08836311b0cf 100644
--- a/ucb/source/core/provprox.cxx
+++ b/ucb/source/core/provprox.cxx
@@ -69,8 +69,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
ucb_UcbContentProviderProxyFactory_get_implementation(
css::uno::XComponentContext* context , css::uno::Sequence<css::uno::Any> const&)
{
- return cppu::acquire(
- static_cast<cppu::OWeakObject*>(new UcbContentProviderProxyFactory(context)));
+ return cppu::acquire(new UcbContentProviderProxyFactory(context));
}