From f31d4ad929339b4a06d5f84b14a2198345d88757 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 14 Jun 2013 12:22:40 +0200 Subject: Remove unused ContentProviderRegistrationInfo Change-Id: Ic30cbc95b4baa4dabaa0f8f8e129aa5cf4ca5f2f --- ucbhelper/source/provider/registerucb.cxx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'ucbhelper') diff --git a/ucbhelper/source/provider/registerucb.cxx b/ucbhelper/source/provider/registerucb.cxx index a17e0ad8bd6f..bce135f0c812 100644 --- a/ucbhelper/source/provider/registerucb.cxx +++ b/ucbhelper/source/provider/registerucb.cxx @@ -45,8 +45,7 @@ registerAtUcb( uno::Reference< uno::XComponentContext > const & rxContext, OUString const & rName, OUString const & rArguments, - OUString const & rTemplate, - ContentProviderRegistrationInfo * pInfo) + OUString const & rTemplate) throw (uno::RuntimeException) { OSL_ENSURE(rxContext.is(), @@ -85,8 +84,6 @@ registerAtUcb( catch (uno::RuntimeException const &) { throw; } catch (uno::Exception const &) {} - uno::Reference< ucb::XContentProvider > - xOriginalProvider(xProvider); uno::Reference< ucb::XParameterizedContentProvider > xParameterized(xProvider, uno::UNO_QUERY); if (xParameterized.is()) @@ -137,12 +134,6 @@ registerAtUcb( throw; } } - if (bSuccess && pInfo) - { - pInfo->m_xProvider = xOriginalProvider; - pInfo->m_aArguments = aProviderArguments; - pInfo->m_aTemplate = rTemplate; - } return bSuccess; } -- cgit