diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:38:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:38:39 +0200 |
commit | d6db9f5125592293addbdb95aa64748bc8dea23d (patch) | |
tree | 15f13721bc9497277c082bc3c1a6738d7a09591d /desktop | |
parent | cc7ae7776402ed967463cdf8f515d5236edffbad (diff) |
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: Id85c1cd6c0eade60c7c347c3a3bc3f4a590e5ce5
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/manager/dp_extensionmanager.cxx | 4 | ||||
-rw-r--r-- | desktop/source/deployment/manager/dp_manager.cxx | 4 | ||||
-rw-r--r-- | desktop/source/deployment/registry/dp_backend.cxx | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/desktop/source/deployment/manager/dp_extensionmanager.cxx b/desktop/source/deployment/manager/dp_extensionmanager.cxx index c0b41df2fc44..cf61aec9c088 100644 --- a/desktop/source/deployment/manager/dp_extensionmanager.cxx +++ b/desktop/source/deployment/manager/dp_extensionmanager.cxx @@ -1468,7 +1468,7 @@ void ExtensionManager::addModifyListener( throw (uno::RuntimeException, std::exception) { check(); - rBHelper.addListener( ::getCppuType( &xListener ), xListener ); + rBHelper.addListener( cppu::UnoType<decltype(xListener)>::get(), xListener ); } @@ -1477,7 +1477,7 @@ void ExtensionManager::removeModifyListener( throw (uno::RuntimeException, std::exception) { check(); - rBHelper.removeListener( ::getCppuType( &xListener ), xListener ); + rBHelper.removeListener( cppu::UnoType<decltype(xListener)>::get(), xListener ); } void ExtensionManager::check() diff --git a/desktop/source/deployment/manager/dp_manager.cxx b/desktop/source/deployment/manager/dp_manager.cxx index 92f32c5e68f6..8164dd0ed329 100644 --- a/desktop/source/deployment/manager/dp_manager.cxx +++ b/desktop/source/deployment/manager/dp_manager.cxx @@ -520,7 +520,7 @@ void PackageManagerImpl::addModifyListener( throw (RuntimeException, std::exception) { check(); - rBHelper.addListener( ::getCppuType( &xListener ), xListener ); + rBHelper.addListener( cppu::UnoType<decltype(xListener)>::get(), xListener ); } @@ -529,7 +529,7 @@ void PackageManagerImpl::removeModifyListener( throw (RuntimeException, std::exception) { check(); - rBHelper.removeListener( ::getCppuType( &xListener ), xListener ); + rBHelper.removeListener( cppu::UnoType<decltype(xListener)>::get(), xListener ); } diff --git a/desktop/source/deployment/registry/dp_backend.cxx b/desktop/source/deployment/registry/dp_backend.cxx index d1cd8df497c7..516aca98a175 100644 --- a/desktop/source/deployment/registry/dp_backend.cxx +++ b/desktop/source/deployment/registry/dp_backend.cxx @@ -388,7 +388,7 @@ void Package::addModifyListener( throw (RuntimeException, std::exception) { check(); - rBHelper.addListener( ::getCppuType( &xListener ), xListener ); + rBHelper.addListener( cppu::UnoType<decltype(xListener)>::get(), xListener ); } @@ -397,7 +397,7 @@ void Package::removeModifyListener( throw (RuntimeException, std::exception) { check(); - rBHelper.removeListener( ::getCppuType( &xListener ), xListener ); + rBHelper.removeListener( cppu::UnoType<decltype(xListener)>::get(), xListener ); } |