diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-06-14 12:22:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-06-14 12:22:40 +0200 |
commit | f31d4ad929339b4a06d5f84b14a2198345d88757 (patch) | |
tree | 30d7b429d13909245e66f14d6a9b8507d0a8a077 /ucbhelper | |
parent | 940dba6b0f13df4c7a42265cf52fec6ba6055c5a (diff) |
Remove unused ContentProviderRegistrationInfo
Change-Id: Ic30cbc95b4baa4dabaa0f8f8e129aa5cf4ca5f2f
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/provider/registerucb.cxx | 11 |
1 files changed, 1 insertions, 10 deletions
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; } |