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/dialogs/ChartTypeDialogController.cxx | |
parent | 187077c21bd73e22f35370ad8a475191614a398d (diff) |
Fix for fdo43460 Part V getLength to isEmpty
Part V
Module
chart2
Diffstat (limited to 'chart2/source/controller/dialogs/ChartTypeDialogController.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/ChartTypeDialogController.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx index 1dae363fd956..af6794b11cd5 100644 --- a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx +++ b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx @@ -285,7 +285,7 @@ uno::Reference< XChartTypeTemplate > ChartTypeDialogController::getCurrentTempla uno::Reference< XChartTypeTemplate > xTemplate(0); rtl::OUString aServiceName( this->getServiceNameForParameter( rParameter ) ); - if(aServiceName.getLength()) + if(!aServiceName.isEmpty()) { xTemplate.set( xTemplateManager->createInstance( aServiceName ), uno::UNO_QUERY ); if(xTemplate.is()) |