diff options
Diffstat (limited to 'framework/source/uielement/uicommanddescription.cxx')
-rw-r--r-- | framework/source/uielement/uicommanddescription.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/uielement/uicommanddescription.cxx b/framework/source/uielement/uicommanddescription.cxx index 344511f847e4..f27ffdd6fb4c 100644 --- a/framework/source/uielement/uicommanddescription.cxx +++ b/framework/source/uielement/uicommanddescription.cxx @@ -736,7 +736,7 @@ throw (::com::sun::star::uno::RuntimeException, std::exception) Type SAL_CALL UICommandDescription::getElementType() throw (::com::sun::star::uno::RuntimeException, std::exception) { - return( ::getCppuType( (const Reference< XNameAccess >*)NULL ) ); + return( cppu::UnoType<XNameAccess>::get()); } sal_Bool SAL_CALL UICommandDescription::hasElements() |