summaryrefslogtreecommitdiff
path: root/UnoControls/source/controls/progressbar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'UnoControls/source/controls/progressbar.cxx')
-rw-r--r--UnoControls/source/controls/progressbar.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/UnoControls/source/controls/progressbar.cxx b/UnoControls/source/controls/progressbar.cxx
index e657dd5734d3..18ac7e5e72e4 100644
--- a/UnoControls/source/controls/progressbar.cxx
+++ b/UnoControls/source/controls/progressbar.cxx
@@ -120,8 +120,8 @@ Sequence< Type > SAL_CALL ProgressBar::getTypes() throw( RuntimeException, std::
if ( pTypeCollection == NULL )
{
// Create a static typecollection ...
- static OTypeCollection aTypeCollection ( ::getCppuType(( const Reference< XControlModel >*) NULL ) ,
- ::getCppuType(( const Reference< XProgressBar >*) NULL ) ,
+ static OTypeCollection aTypeCollection ( cppu::UnoType<XControlModel>::get(),
+ cppu::UnoType<XProgressBar>::get(),
BaseControl::getTypes()
);
// ... and set his address to static pointer!