diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-05-18 00:35:50 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-05-18 00:36:10 +0200 |
commit | 0d8908b35999795ba1ffe2d3530aa9711918840a (patch) | |
tree | 92a84fad59387a092838d75398ed473c3784ad29 /chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx | |
parent | 980dabdbc636d4a639b7227caf7c82fdc81b77c4 (diff) |
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part16
Change-Id: I78b3a0151397d4e69521e6b2451e93ea6e463376
Diffstat (limited to 'chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx')
-rw-r--r-- | chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx b/chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx index f7e03ff9458d..db934341d8b9 100644 --- a/chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx @@ -700,7 +700,7 @@ bool GraphicPropertyItemConverter::ApplySpecialItem( if( rItem.QueryValue( aValue )) { OSL_ENSURE( ! aValue.isExtractableTo( - ::getCppuType( reinterpret_cast< const sal_Int16 * >(0))), + cppu::UnoType<sal_Int16>::get()), "TransparenceItem QueryValue bug is fixed. Remove hack." ); sal_Int32 nValue = 0; if( aValue >>= nValue ) @@ -737,7 +737,7 @@ bool GraphicPropertyItemConverter::ApplySpecialItem( if( rItem.QueryValue( aValue )) { OSL_ENSURE( ! aValue.isExtractableTo( - ::getCppuType( reinterpret_cast< const sal_Int16 * >(0))), + cppu::UnoType<sal_Int16>::get()), "TransparenceItem QueryValue bug is fixed. Remove hack." ); sal_Int32 nValue = 0; if( aValue >>= nValue ) |