diff options
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 ) |