diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-05-23 22:11:27 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-05-23 22:11:52 +0200 |
commit | ac76cc7e605b1bc9c0ff8e24d0b9995a8247074e (patch) | |
tree | 797df8cc9387fa70a0c09e574f49714ce4dc6710 /forms/source/component/Button.cxx | |
parent | collada2gltf: one more URL usage fix (diff) | |
download | core-ac76cc7e605b1bc9c0ff8e24d0b9995a8247074e.tar.gz core-ac76cc7e605b1bc9c0ff8e24d0b9995a8247074e.zip |
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
Diffstat (limited to 'forms/source/component/Button.cxx')
-rw-r--r-- | forms/source/component/Button.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/Button.cxx b/forms/source/component/Button.cxx index 9fb6e466dd1e..262bd89fadef 100644 --- a/forms/source/component/Button.cxx +++ b/forms/source/component/Button.cxx @@ -393,7 +393,7 @@ Any SAL_CALL OButtonControl::queryAggregation(const Type& _rType) throw (Runtime { // if asked for the XTypeProvider, don't let OButtonControl_BASE do this Any aReturn; - if ( !_rType.equals( ::getCppuType( static_cast< Reference< XTypeProvider >* >( NULL ) ) ) ) + if ( !_rType.equals( cppu::UnoType<XTypeProvider>::get() ) ) aReturn = OButtonControl_BASE::queryInterface( _rType ); if ( !aReturn.hasValue() ) |