summaryrefslogtreecommitdiff
path: root/UnoControls/source/controls/progressbar.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-05-23 22:11:27 +0200
committerJulien Nabet <serval2412@yahoo.fr>2014-05-23 22:11:52 +0200
commitac76cc7e605b1bc9c0ff8e24d0b9995a8247074e (patch)
tree797df8cc9387fa70a0c09e574f49714ce4dc6710 /UnoControls/source/controls/progressbar.cxx
parent3191d7d1302dbde2445b9f300b3eb853120ede65 (diff)
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
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!