summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/controlmodelcontainerbase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/controls/controlmodelcontainerbase.cxx')
-rw-r--r--toolkit/source/controls/controlmodelcontainerbase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx
index fe33e1ea40c1..d197fb14a9a9 100644
--- a/toolkit/source/controls/controlmodelcontainerbase.cxx
+++ b/toolkit/source/controls/controlmodelcontainerbase.cxx
@@ -476,7 +476,7 @@ void ControlModelContainerBase::removeContainerListener( const Reference< XConta
// XElementAcces
Type ControlModelContainerBase::getElementType() throw(RuntimeException, std::exception)
{
- Type aType = getCppuType( ( Reference< XControlModel>* ) NULL );
+ Type aType = cppu::UnoType<XControlModel>::get();
return aType;
}