diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-24 20:59:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-25 11:58:26 +0100 |
commit | c797a11a4d7ca7531eeb7efd85670711a08f8b4b (patch) | |
tree | cf884e11e9c9b287e3c2bc9b684cdcaaea75055b /desktop | |
parent | d8093cd3bb4b0ccef1e8b14c26c1aa8cbc6789ba (diff) |
callcatcher: remove freshly unused code
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/registry/component/dp_component.cxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/desktop/source/deployment/registry/component/dp_component.cxx b/desktop/source/deployment/registry/component/dp_component.cxx index 6d5fb619553c..fa871d5c1b18 100644 --- a/desktop/source/deployment/registry/component/dp_component.cxx +++ b/desktop/source/deployment/registry/component/dp_component.cxx @@ -341,10 +341,6 @@ class BackendImpl : public ::dp_registry::backend::PackageRegistryBackend Reference<XCommandEnvironment> const & xCmdEnv ); bool hasInUnoRc( RcItem kind, OUString const & url ); - css::uno::Reference< css::registry::XRegistryKey > openRegistryKey( - css::uno::Reference< css::registry::XRegistryKey > const & base, - rtl::OUString const & path); - css::uno::Reference< css::uno::XComponentContext > getRootContext() const; public: @@ -1147,23 +1143,6 @@ bool BackendImpl::hasInUnoRc( return ::std::find( rSet.begin(), rSet.end(), rcterm ) != rSet.end(); } -css::uno::Reference< css::registry::XRegistryKey > BackendImpl::openRegistryKey( - css::uno::Reference< css::registry::XRegistryKey > const & base, - rtl::OUString const & path) -{ - OSL_ASSERT(base.is()); - css::uno::Reference< css::registry::XRegistryKey > key(base->openKey(path)); - if (!key.is()) { - throw css::deployment::DeploymentException( - (rtl::OUString( - RTL_CONSTASCII_USTRINGPARAM("missing registry entry ")) + - path + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(" under ")) + - base->getKeyName()), - static_cast< OWeakObject * >(this), Any()); - } - return key; -} - css::uno::Reference< css::uno::XComponentContext > BackendImpl::getRootContext() const { |