summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/DataBrowserModel.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2011-12-10 22:03:11 -0200
committerIvan Timofeev <timofeev.i.s@gmail.com>2011-12-13 00:36:43 +0400
commit0eac98aa742e8e76ebb1af91b32bd02e04b2e20a (patch)
treed44b28e26f61342e8a05d9c2c52e9139a5a2258b /chart2/source/controller/dialogs/DataBrowserModel.cxx
parent187077c21bd73e22f35370ad8a475191614a398d (diff)
Fix for fdo43460 Part V getLength to isEmpty
Part V Module chart2
Diffstat (limited to 'chart2/source/controller/dialogs/DataBrowserModel.cxx')
-rw-r--r--chart2/source/controller/dialogs/DataBrowserModel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/dialogs/DataBrowserModel.cxx b/chart2/source/controller/dialogs/DataBrowserModel.cxx
index 80e19a222d7e..1ec9acfae18f 100644
--- a/chart2/source/controller/dialogs/DataBrowserModel.cxx
+++ b/chart2/source/controller/dialogs/DataBrowserModel.cxx
@@ -103,7 +103,7 @@ OUString lcl_getUIRoleName(
const Reference< chart2::data::XLabeledDataSequence > & xLSeq )
{
OUString aResult( lcl_getRole( xLSeq ));
- if( aResult.getLength())
+ if( !aResult.isEmpty())
aResult = ::chart::DialogModel::ConvertRoleFromInternalToUI( aResult );
return aResult;
}