diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2011-12-10 22:03:11 -0200 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2011-12-13 00:36:43 +0400 |
commit | 0eac98aa742e8e76ebb1af91b32bd02e04b2e20a (patch) | |
tree | d44b28e26f61342e8a05d9c2c52e9139a5a2258b /chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx | |
parent | 187077c21bd73e22f35370ad8a475191614a398d (diff) |
Fix for fdo43460 Part V getLength to isEmpty
Part V
Module
chart2
Diffstat (limited to 'chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx')
-rw-r--r-- | chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx index 65b76e93713c..076e87caabc7 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx @@ -311,7 +311,7 @@ Any WrappedAxisTitleExistenceProperty::getPropertyValue( const Reference< beans: sal_Bool bHasTitle = sal_False; Reference< chart2::XTitle > xTitle( TitleHelper::getTitle( m_eTitleType, m_spChart2ModelContact->getChartModel() ) ); - if( xTitle.is() && (TitleHelper::getCompleteString( xTitle ).getLength() != 0) ) + if( xTitle.is() && !TitleHelper::getCompleteString( xTitle ).isEmpty() ) bHasTitle = sal_True; Any aRet; |