Kaydet (Commit) d6db9f51 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Replace remaining getCppuType et al with cppu::UnoType

Change-Id: Id85c1cd6c0eade60c7c347c3a3bc3f4a590e5ce5
üst cc7ae777
......@@ -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()
......
......@@ -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 );
}
......
......@@ -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 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment