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 c173ad26b5d3..debad5880281 100644 --- a/chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx @@ -290,7 +290,7 @@ void GraphicPropertyItemConverter::FillSpecialItem( // this is important to enable the item ::rtl::OUString aName; if( (aValue >>= aName) && - aName.getLength()) + !aName.isEmpty()) { aItem.SetEnabled( sal_True ); rOutItemSet.Put( aItem ); @@ -532,7 +532,7 @@ bool GraphicPropertyItemConverter::ApplySpecialItem( { ::rtl::OUString aName; if( ( GetPropertySet()->getPropertyValue( aPropName ) >>= aName ) - && aName.getLength() > 0 ) + && !aName.isEmpty() ) { uno::Reference< beans::XPropertyState > xState( GetPropertySet(), uno::UNO_QUERY ); if( xState.is()) |