summaryrefslogtreecommitdiff
path: root/stoc/source/servicemanager
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 08:41:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 08:41:10 +0200
commite1f3391a749873875e2e65bf9f36d242702b8006 (patch)
tree3b4df0931cb7f1540471e1dafa51a4a18e98eea3 /stoc/source/servicemanager
parent72a11e4544c900f0b83fbdcae11eb247d65e9666 (diff)
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I14b923990a012e8e85ca9170cdffd6b8e3626d89
Diffstat (limited to 'stoc/source/servicemanager')
-rw-r--r--stoc/source/servicemanager/servicemanager.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/stoc/source/servicemanager/servicemanager.cxx b/stoc/source/servicemanager/servicemanager.cxx
index a543da9f9735..33a35578e0e1 100644
--- a/stoc/source/servicemanager/servicemanager.cxx
+++ b/stoc/source/servicemanager/servicemanager.cxx
@@ -742,7 +742,7 @@ Reference<XPropertySetInfo > OServiceManager::getPropertySetInfo()
{
Sequence< beans::Property > seq( 1 );
seq[ 0 ] = beans::Property(
- "DefaultContext", -1, ::getCppuType( &m_xContext ), 0 );
+ "DefaultContext", -1, cppu::UnoType<decltype(m_xContext)>::get(), 0 );
Reference< beans::XPropertySetInfo > xInfo( new PropertySetInfo_Impl( seq ) );
MutexGuard aGuard( m_mutex );
@@ -1615,9 +1615,9 @@ Reference<XPropertySetInfo > ORegistryServiceManager::getPropertySetInfo()
{
Sequence< beans::Property > seq( 2 );
seq[ 0 ] = beans::Property(
- "DefaultContext", -1, ::getCppuType( &m_xContext ), 0 );
+ "DefaultContext", -1, cppu::UnoType<decltype(m_xContext)>::get(), 0 );
seq[ 1 ] = beans::Property(
- "Registry", -1, ::getCppuType( &m_xRegistry ),
+ "Registry", -1, cppu::UnoType<decltype(m_xRegistry)>::get(),
beans::PropertyAttribute::READONLY );
Reference< beans::XPropertySetInfo > xInfo( new PropertySetInfo_Impl( seq ) );