diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:39:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:39:26 +0200 |
commit | e4c1c0829a44a5992efa35a8445cb3448dc10960 (patch) | |
tree | d35194ad775ba1ad1553b9ac886b2a23ba5d3022 /framework | |
parent | 2fb62e527e2ebac187fe80550a40e637b4bf187a (diff) |
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I320895b73f101986e1aab95668c7b76e04315aab
Diffstat (limited to 'framework')
-rw-r--r-- | framework/inc/macros/xtypeprovider.hxx | 24 | ||||
-rw-r--r-- | framework/inc/uielement/constitemcontainer.hxx | 2 | ||||
-rw-r--r-- | framework/inc/uielement/itemcontainer.hxx | 2 | ||||
-rw-r--r-- | framework/inc/uielement/rootitemcontainer.hxx | 2 | ||||
-rw-r--r-- | framework/source/layoutmanager/layoutmanager.cxx | 12 | ||||
-rw-r--r-- | framework/source/recording/dispatchrecorder.cxx | 4 | ||||
-rw-r--r-- | framework/source/services/autorecovery.cxx | 6 | ||||
-rw-r--r-- | framework/source/services/desktop.cxx | 4 | ||||
-rw-r--r-- | framework/source/services/frame.cxx | 2 | ||||
-rw-r--r-- | framework/source/services/modulemanager.cxx | 2 | ||||
-rw-r--r-- | framework/source/services/pathsettings.cxx | 4 | ||||
-rw-r--r-- | framework/source/uiconfiguration/windowstateconfiguration.cxx | 2 | ||||
-rw-r--r-- | framework/source/uielement/uicommanddescription.cxx | 2 |
13 files changed, 34 insertions, 34 deletions
diff --git a/framework/inc/macros/xtypeprovider.hxx b/framework/inc/macros/xtypeprovider.hxx index a7e914218eb5..d6e463c5ae3f 100644 --- a/framework/inc/macros/xtypeprovider.hxx +++ b/framework/inc/macros/xtypeprovider.hxx @@ -192,51 +192,51 @@ ________________________________________________________________________________ // help macros to replace TYPES in getTypes() [see before] #define PRIVATE_DEFINE_TYPE_1( TYPE1 ) \ - ::getCppuType(( const ::com::sun::star::uno::Reference< TYPE1 >*)NULL ) + cppu::UnoType<TYPE1>::get() #define PRIVATE_DEFINE_TYPE_2( TYPE1, TYPE2 ) \ PRIVATE_DEFINE_TYPE_1( TYPE1 ), \ - ::getCppuType(( const ::com::sun::star::uno::Reference< TYPE2 >*)NULL ) + cppu::UnoType<TYPE2>::get() #define PRIVATE_DEFINE_TYPE_3( TYPE1, TYPE2, TYPE3 ) \ PRIVATE_DEFINE_TYPE_2( TYPE1, TYPE2 ), \ - ::getCppuType(( const ::com::sun::star::uno::Reference< TYPE3 >*)NULL ) + cppu::UnoType<TYPE3>::get() #define PRIVATE_DEFINE_TYPE_4( TYPE1, TYPE2, TYPE3, TYPE4 ) \ PRIVATE_DEFINE_TYPE_3( TYPE1, TYPE2, TYPE3 ), \ - ::getCppuType(( const ::com::sun::star::uno::Reference< TYPE4 >*)NULL ) + cppu::UnoType<TYPE4>::get() #define PRIVATE_DEFINE_TYPE_5( TYPE1, TYPE2, TYPE3, TYPE4, TYPE5 ) \ PRIVATE_DEFINE_TYPE_4( TYPE1, TYPE2, TYPE3, TYPE4 ), \ - ::getCppuType(( const ::com::sun::star::uno::Reference< TYPE5 >*)NULL ) + cppu::UnoType<TYPE5>::get() #define PRIVATE_DEFINE_TYPE_6( TYPE1, TYPE2, TYPE3, TYPE4, TYPE5, TYPE6 ) \ PRIVATE_DEFINE_TYPE_5( TYPE1, TYPE2, TYPE3, TYPE4, TYPE5 ), \ - ::getCppuType(( const ::com::sun::star::uno::Reference< TYPE6 >*)NULL ) + cppu::UnoType<TYPE6>::get() #define PRIVATE_DEFINE_TYPE_7( TYPE1, TYPE2, TYPE3, TYPE4, TYPE5, TYPE6, TYPE7 ) \ PRIVATE_DEFINE_TYPE_6( TYPE1, TYPE2, TYPE3, TYPE4, TYPE5, TYPE6 ), \ - ::getCppuType(( const ::com::sun::star::uno::Reference< TYPE7 >*)NULL ) + cppu::UnoType<TYPE7>::get() #define PRIVATE_DEFINE_TYPE_8( TYPE1, TYPE2, TYPE3, TYPE4, TYPE5, TYPE6, TYPE7, TYPE8 ) \ PRIVATE_DEFINE_TYPE_7( TYPE1, TYPE2, TYPE3, TYPE4, TYPE5, TYPE6, TYPE7 ), \ - ::getCppuType(( const ::com::sun::star::uno::Reference< TYPE8 >*)NULL ) + cppu::UnoType<TYPE8>::get() #define PRIVATE_DEFINE_TYPE_9( TYPE1, TYPE2, TYPE3, TYPE4, TYPE5, TYPE6, TYPE7, TYPE8, TYPE9 ) \ PRIVATE_DEFINE_TYPE_8( TYPE1, TYPE2, TYPE3, TYPE4, TYPE5, TYPE6, TYPE7, TYPE8 ), \ - ::getCppuType(( const ::com::sun::star::uno::Reference< TYPE9 >*)NULL ) + cppu::UnoType<TYPE9>::get() #define PRIVATE_DEFINE_TYPE_10( TYPE1, TYPE2, TYPE3, TYPE4, TYPE5, TYPE6, TYPE7, TYPE8, TYPE9, TYPE10 ) \ PRIVATE_DEFINE_TYPE_9( TYPE1, TYPE2, TYPE3, TYPE4, TYPE5, TYPE6, TYPE7, TYPE8, TYPE9 ), \ - ::getCppuType(( const ::com::sun::star::uno::Reference< TYPE10 >*)NULL ) + cppu::UnoType<TYPE10>::get() #define PRIVATE_DEFINE_TYPE_11( TYPE1, TYPE2, TYPE3, TYPE4, TYPE5, TYPE6, TYPE7, TYPE8, TYPE9, TYPE10, TYPE11 ) \ PRIVATE_DEFINE_TYPE_10( TYPE1, TYPE2, TYPE3, TYPE4, TYPE5, TYPE6, TYPE7, TYPE8, TYPE9, TYPE10 ), \ - ::getCppuType(( const ::com::sun::star::uno::Reference< TYPE11 >*)NULL ) + cppu::UnoType<TYPE11>::get() #define PRIVATE_DEFINE_TYPE_12( TYPE1, TYPE2, TYPE3, TYPE4, TYPE5, TYPE6, TYPE7, TYPE8, TYPE9, TYPE10, TYPE11, TYPE12 ) \ PRIVATE_DEFINE_TYPE_11( TYPE1, TYPE2, TYPE3, TYPE4, TYPE5, TYPE6, TYPE7, TYPE8, TYPE9, TYPE10, TYPE11 ), \ - ::getCppuType(( const ::com::sun::star::uno::Reference< TYPE12 >*)NULL ) + cppu::UnoType<TYPE12>::get() // private // complete implementation of XTypeProvider diff --git a/framework/inc/uielement/constitemcontainer.hxx b/framework/inc/uielement/constitemcontainer.hxx index 00ec059a627b..f91729b7acac 100644 --- a/framework/inc/uielement/constitemcontainer.hxx +++ b/framework/inc/uielement/constitemcontainer.hxx @@ -75,7 +75,7 @@ class FWI_DLLPUBLIC ConstItemContainer : public ::cppu::WeakImplHelper4< virtual ::com::sun::star::uno::Type SAL_CALL getElementType() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { - return ::getCppuType((com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >*)0); + return cppu::UnoType<com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >>::get(); } virtual sal_Bool SAL_CALL hasElements() diff --git a/framework/inc/uielement/itemcontainer.hxx b/framework/inc/uielement/itemcontainer.hxx index 1bbc3b25620e..5fde1b4a9618 100644 --- a/framework/inc/uielement/itemcontainer.hxx +++ b/framework/inc/uielement/itemcontainer.hxx @@ -76,7 +76,7 @@ class FWI_DLLPUBLIC ItemContainer : public ::cppu::WeakImplHelper1< ::com::sun virtual ::com::sun::star::uno::Type SAL_CALL getElementType() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { - return ::getCppuType((com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >*)0); + return cppu::UnoType<com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >>::get(); } virtual sal_Bool SAL_CALL hasElements() diff --git a/framework/inc/uielement/rootitemcontainer.hxx b/framework/inc/uielement/rootitemcontainer.hxx index 917340d43e3d..11490a7f5a29 100644 --- a/framework/inc/uielement/rootitemcontainer.hxx +++ b/framework/inc/uielement/rootitemcontainer.hxx @@ -98,7 +98,7 @@ class RootItemContainer : private cppu::BaseMutex, virtual ::com::sun::star::uno::Type SAL_CALL getElementType() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { - return ::getCppuType((com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >*)0); + return cppu::UnoType<com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >>::get(); } virtual sal_Bool SAL_CALL hasElements() diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index 94e99fffff36..e8b5d5125cae 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -147,12 +147,12 @@ LayoutManager::LayoutManager( const Reference< XComponentContext >& xContext ) : m_aAsyncLayoutTimer.SetTimeout( 50 ); m_aAsyncLayoutTimer.SetTimeoutHdl( LINK( this, LayoutManager, AsyncLayoutHdl ) ); - registerProperty( LAYOUTMANAGER_PROPNAME_AUTOMATICTOOLBARS, LAYOUTMANAGER_PROPHANDLE_AUTOMATICTOOLBARS, css::beans::PropertyAttribute::TRANSIENT, &m_bAutomaticToolbars, ::getCppuType( &m_bAutomaticToolbars ) ); - registerProperty( LAYOUTMANAGER_PROPNAME_HIDECURRENTUI, LAYOUTMANAGER_PROPHANDLE_HIDECURRENTUI, beans::PropertyAttribute::TRANSIENT, &m_bHideCurrentUI, ::getCppuType( &m_bHideCurrentUI ) ); - registerProperty( LAYOUTMANAGER_PROPNAME_LOCKCOUNT, LAYOUTMANAGER_PROPHANDLE_LOCKCOUNT, beans::PropertyAttribute::TRANSIENT | beans::PropertyAttribute::READONLY, &m_nLockCount, getCppuType( &m_nLockCount ) ); - registerProperty( LAYOUTMANAGER_PROPNAME_MENUBARCLOSER, LAYOUTMANAGER_PROPHANDLE_MENUBARCLOSER, beans::PropertyAttribute::TRANSIENT, &m_bMenuBarCloseButton, ::getCppuType( &m_bMenuBarCloseButton ) ); - registerPropertyNoMember( LAYOUTMANAGER_PROPNAME_REFRESHVISIBILITY, LAYOUTMANAGER_PROPHANDLE_REFRESHVISIBILITY, beans::PropertyAttribute::TRANSIENT, ::getCppuType( &bRefreshVisibility ), &bRefreshVisibility ); - registerProperty( LAYOUTMANAGER_PROPNAME_PRESERVE_CONTENT_SIZE, LAYOUTMANAGER_PROPHANDLE_PRESERVE_CONTENT_SIZE, beans::PropertyAttribute::TRANSIENT, &m_bPreserveContentSize, ::getCppuType( &m_bPreserveContentSize ) ); + registerProperty( LAYOUTMANAGER_PROPNAME_AUTOMATICTOOLBARS, LAYOUTMANAGER_PROPHANDLE_AUTOMATICTOOLBARS, css::beans::PropertyAttribute::TRANSIENT, &m_bAutomaticToolbars, cppu::UnoType<decltype(m_bAutomaticToolbars)>::get() ); + registerProperty( LAYOUTMANAGER_PROPNAME_HIDECURRENTUI, LAYOUTMANAGER_PROPHANDLE_HIDECURRENTUI, beans::PropertyAttribute::TRANSIENT, &m_bHideCurrentUI, cppu::UnoType<decltype(m_bHideCurrentUI)>::get() ); + registerProperty( LAYOUTMANAGER_PROPNAME_LOCKCOUNT, LAYOUTMANAGER_PROPHANDLE_LOCKCOUNT, beans::PropertyAttribute::TRANSIENT | beans::PropertyAttribute::READONLY, &m_nLockCount, cppu::UnoType<decltype(m_nLockCount)>::get() ); + registerProperty( LAYOUTMANAGER_PROPNAME_MENUBARCLOSER, LAYOUTMANAGER_PROPHANDLE_MENUBARCLOSER, beans::PropertyAttribute::TRANSIENT, &m_bMenuBarCloseButton, cppu::UnoType<decltype(m_bMenuBarCloseButton)>::get() ); + registerPropertyNoMember( LAYOUTMANAGER_PROPNAME_REFRESHVISIBILITY, LAYOUTMANAGER_PROPHANDLE_REFRESHVISIBILITY, beans::PropertyAttribute::TRANSIENT, cppu::UnoType<decltype(bRefreshVisibility)>::get(), &bRefreshVisibility ); + registerProperty( LAYOUTMANAGER_PROPNAME_PRESERVE_CONTENT_SIZE, LAYOUTMANAGER_PROPHANDLE_PRESERVE_CONTENT_SIZE, beans::PropertyAttribute::TRANSIENT, &m_bPreserveContentSize, cppu::UnoType<decltype(m_bPreserveContentSize)>::get() ); } LayoutManager::~LayoutManager() diff --git a/framework/source/recording/dispatchrecorder.cxx b/framework/source/recording/dispatchrecorder.cxx index 48affcc5dd59..e49d43f3d61b 100644 --- a/framework/source/recording/dispatchrecorder.cxx +++ b/framework/source/recording/dispatchrecorder.cxx @@ -180,7 +180,7 @@ void SAL_CALL DispatchRecorder::AppendToBuffer( css::uno::Any aValue, OUStringBu // convert to "Sequence of any" css::uno::Sequence < css::uno::Any > aSeq; css::uno::Any aNew; - try { aNew = m_xConverter->convertTo( aValue, ::getCppuType((const css::uno::Sequence < css::uno::Any >*)0) ); } + try { aNew = m_xConverter->convertTo( aValue, cppu::UnoType<css::uno::Sequence < css::uno::Any >>::get() ); } catch (const css::uno::Exception&) {} aNew >>= aSeq; @@ -251,7 +251,7 @@ void SAL_CALL DispatchRecorder::AppendToBuffer( css::uno::Any aValue, OUStringBu else aArgumentBuffer.appendAscii("\"\""); } - else if (aValue.getValueType() == getCppuCharType()) + else if (aValue.getValueType() == cppu::UnoType<cppu::UnoCharType>::get()) { // character variables are recorded as strings, back conversion must be handled in client code sal_Unicode nVal = *static_cast<sal_Unicode const *>(aValue.getValue()); diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx index 206adedf57d9..c2e899429fba 100644 --- a/framework/source/services/autorecovery.cxx +++ b/framework/source/services/autorecovery.cxx @@ -4051,9 +4051,9 @@ const css::uno::Sequence< css::beans::Property > impl_getStaticPropertyDescripto { const css::beans::Property pPropertys[] = { - css::beans::Property( AUTORECOVERY_PROPNAME_CRASHED , AUTORECOVERY_PROPHANDLE_CRASHED , ::getBooleanCppuType() , css::beans::PropertyAttribute::TRANSIENT | css::beans::PropertyAttribute::READONLY ), - css::beans::Property( AUTORECOVERY_PROPNAME_EXISTS_RECOVERYDATA, AUTORECOVERY_PROPHANDLE_EXISTS_RECOVERYDATA, ::getBooleanCppuType() , css::beans::PropertyAttribute::TRANSIENT | css::beans::PropertyAttribute::READONLY ), - css::beans::Property( AUTORECOVERY_PROPNAME_EXISTS_SESSIONDATA , AUTORECOVERY_PROPHANDLE_EXISTS_SESSIONDATA , ::getBooleanCppuType() , css::beans::PropertyAttribute::TRANSIENT | css::beans::PropertyAttribute::READONLY ), + css::beans::Property( AUTORECOVERY_PROPNAME_CRASHED , AUTORECOVERY_PROPHANDLE_CRASHED , cppu::UnoType<bool>::get() , css::beans::PropertyAttribute::TRANSIENT | css::beans::PropertyAttribute::READONLY ), + css::beans::Property( AUTORECOVERY_PROPNAME_EXISTS_RECOVERYDATA, AUTORECOVERY_PROPHANDLE_EXISTS_RECOVERYDATA, cppu::UnoType<bool>::get() , css::beans::PropertyAttribute::TRANSIENT | css::beans::PropertyAttribute::READONLY ), + css::beans::Property( AUTORECOVERY_PROPNAME_EXISTS_SESSIONDATA , AUTORECOVERY_PROPHANDLE_EXISTS_SESSIONDATA , cppu::UnoType<bool>::get() , css::beans::PropertyAttribute::TRANSIENT | css::beans::PropertyAttribute::READONLY ), }; const css::uno::Sequence< css::beans::Property > lPropertyDescriptor(pPropertys, AUTORECOVERY_PROPCOUNT); return lPropertyDescriptor; diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx index aabf2fd52c91..24b9761f5648 100644 --- a/framework/source/services/desktop.cxx +++ b/framework/source/services/desktop.cxx @@ -1570,8 +1570,8 @@ const css::uno::Sequence< css::beans::Property > Desktop::impl_getStaticProperty { css::beans::Property( DESKTOP_PROPNAME_ACTIVEFRAME , DESKTOP_PROPHANDLE_ACTIVEFRAME , cppu::UnoType<css::lang::XComponent>::get(), css::beans::PropertyAttribute::TRANSIENT | css::beans::PropertyAttribute::READONLY ), css::beans::Property( DESKTOP_PROPNAME_DISPATCHRECORDERSUPPLIER , DESKTOP_PROPHANDLE_DISPATCHRECORDERSUPPLIER, cppu::UnoType<css::frame::XDispatchRecorderSupplier>::get(), css::beans::PropertyAttribute::TRANSIENT ), - css::beans::Property( DESKTOP_PROPNAME_ISPLUGGED , DESKTOP_PROPHANDLE_ISPLUGGED , ::getBooleanCppuType() , css::beans::PropertyAttribute::TRANSIENT | css::beans::PropertyAttribute::READONLY ), - css::beans::Property( DESKTOP_PROPNAME_SUSPENDQUICKSTARTVETO , DESKTOP_PROPHANDLE_SUSPENDQUICKSTARTVETO , ::getBooleanCppuType() , css::beans::PropertyAttribute::TRANSIENT ), + css::beans::Property( DESKTOP_PROPNAME_ISPLUGGED , DESKTOP_PROPHANDLE_ISPLUGGED , cppu::UnoType<bool>::get() , css::beans::PropertyAttribute::TRANSIENT | css::beans::PropertyAttribute::READONLY ), + css::beans::Property( DESKTOP_PROPNAME_SUSPENDQUICKSTARTVETO , DESKTOP_PROPHANDLE_SUSPENDQUICKSTARTVETO , cppu::UnoType<bool>::get() , css::beans::PropertyAttribute::TRANSIENT ), css::beans::Property( DESKTOP_PROPNAME_TITLE , DESKTOP_PROPHANDLE_TITLE , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::TRANSIENT ), }; // Use it to initialize sequence! diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index 0b4b48457106..ee75278d06b2 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -2666,7 +2666,7 @@ void Frame::impl_initializePropInfo() css::beans::Property( FRAME_PROPNAME_ISHIDDEN, FRAME_PROPHANDLE_ISHIDDEN, - ::getBooleanCppuType(), + cppu::UnoType<bool>::get(), css::beans::PropertyAttribute::TRANSIENT | css::beans::PropertyAttribute::READONLY)); impl_addPropertyInfo( diff --git a/framework/source/services/modulemanager.cxx b/framework/source/services/modulemanager.cxx index f1c34b97894b..4b9d383f89fb 100644 --- a/framework/source/services/modulemanager.cxx +++ b/framework/source/services/modulemanager.cxx @@ -324,7 +324,7 @@ sal_Bool SAL_CALL ModuleManager::hasByName(const OUString& sName) css::uno::Type SAL_CALL ModuleManager::getElementType() throw(css::uno::RuntimeException, std::exception) { - return ::getCppuType((const css::uno::Sequence< css::beans::PropertyValue >*)0); + return cppu::UnoType<css::uno::Sequence< css::beans::PropertyValue >>::get(); } sal_Bool SAL_CALL ModuleManager::hasElements() diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx index 3dbaaf0c334c..e1a99f08d3bd 100644 --- a/framework/source/services/pathsettings.cxx +++ b/framework/source/services/pathsettings.cxx @@ -1127,7 +1127,7 @@ void PathSettings::impl_rebuildPropertyDescriptor() pProp = &(m_lPropDesc[i]); pProp->Name = rPath.sPathName+POSTFIX_INTERNAL_PATHS; pProp->Handle = i; - pProp->Type = ::getCppuType((css::uno::Sequence< OUString >*)0); + pProp->Type = cppu::UnoType<css::uno::Sequence< OUString >>::get(); pProp->Attributes = css::beans::PropertyAttribute::BOUND | css::beans::PropertyAttribute::READONLY; ++i; @@ -1135,7 +1135,7 @@ void PathSettings::impl_rebuildPropertyDescriptor() pProp = &(m_lPropDesc[i]); pProp->Name = rPath.sPathName+POSTFIX_USER_PATHS; pProp->Handle = i; - pProp->Type = ::getCppuType((css::uno::Sequence< OUString >*)0); + pProp->Type = cppu::UnoType<css::uno::Sequence< OUString >>::get(); pProp->Attributes = css::beans::PropertyAttribute::BOUND; if (rPath.bIsReadonly) pProp->Attributes |= css::beans::PropertyAttribute::READONLY; diff --git a/framework/source/uiconfiguration/windowstateconfiguration.cxx b/framework/source/uiconfiguration/windowstateconfiguration.cxx index a6dee5c6d5d3..bfa14d55b8f2 100644 --- a/framework/source/uiconfiguration/windowstateconfiguration.cxx +++ b/framework/source/uiconfiguration/windowstateconfiguration.cxx @@ -320,7 +320,7 @@ throw (::com::sun::star::uno::RuntimeException, std::exception) Type SAL_CALL ConfigurationAccess_WindowState::getElementType() throw ( RuntimeException, std::exception ) { - return( ::getCppuType( (const Sequence< PropertyValue >*)NULL ) ); + return( cppu::UnoType<Sequence< PropertyValue >>::get() ); } sal_Bool SAL_CALL ConfigurationAccess_WindowState::hasElements() diff --git a/framework/source/uielement/uicommanddescription.cxx b/framework/source/uielement/uicommanddescription.cxx index 2a7a19ce9942..c021456cbde7 100644 --- a/framework/source/uielement/uicommanddescription.cxx +++ b/framework/source/uielement/uicommanddescription.cxx @@ -272,7 +272,7 @@ throw (::com::sun::star::uno::RuntimeException, std::exception) Type SAL_CALL ConfigurationAccess_UICommand::getElementType() throw ( RuntimeException, std::exception ) { - return( ::getCppuType( (const Sequence< PropertyValue >*)NULL ) ); + return( cppu::UnoType<Sequence< PropertyValue >>::get() ); } sal_Bool SAL_CALL ConfigurationAccess_UICommand::hasElements() |