From 96388e5e809a48573970df9b6b2649517a08447f Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Wed, 10 Mar 2021 09:41:13 +0300 Subject: Drop 'static_cast' syntactic noise ... where the object is created in-place, and its type is known Change-Id: Ifabfcf2f3ad0d60152f14e8d970c1faa42115288 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112256 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- ucb/source/ucp/cmis/cmis_provider.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ucb/source/ucp/cmis') diff --git a/ucb/source/ucp/cmis/cmis_provider.cxx b/ucb/source/ucp/cmis/cmis_provider.cxx index bb84412bb97e..ded4483ecdfd 100644 --- a/ucb/source/ucp/cmis/cmis_provider.cxx +++ b/ucb/source/ucp/cmis/cmis_provider.cxx @@ -137,7 +137,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* ucb_cmis_ContentProvider_get_implementation( css::uno::XComponentContext* context, css::uno::Sequence const&) { - return cppu::acquire(static_cast(new cmis::ContentProvider(context))); + return cppu::acquire(new cmis::ContentProvider(context)); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit