summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/tabpagecontainer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/controls/tabpagecontainer.cxx')
-rw-r--r--toolkit/source/controls/tabpagecontainer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/controls/tabpagecontainer.cxx b/toolkit/source/controls/tabpagecontainer.cxx
index f841478eef85..d6878c17cc05 100644
--- a/toolkit/source/controls/tabpagecontainer.cxx
+++ b/toolkit/source/controls/tabpagecontainer.cxx
@@ -196,7 +196,7 @@ uno::Any SAL_CALL UnoControlTabPageContainerModel::getByIndex( ::sal_Int32 nInde
// XElementAccess
uno::Type SAL_CALL UnoControlTabPageContainerModel::getElementType( ) throw (uno::RuntimeException, std::exception)
{
- return ::getCppuType(static_cast< Reference< com::sun::star::awt::XControlModel>* >(NULL));
+ return cppu::UnoType<com::sun::star::awt::XControlModel>::get();
}
sal_Bool SAL_CALL UnoControlTabPageContainerModel::hasElements( ) throw (uno::RuntimeException, std::exception)