summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/PropertyMaps.cxx
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2013-06-18 19:53:19 +0200
committerNoel Power <noel.power@suse.com>2013-06-19 10:10:39 +0000
commitad09b2f7efac628ac4261b86f9fd085f83ebe717 (patch)
tree788329ea0baed2a1a1bf8b21bb56122aa1f292b1 /xmloff/source/chart/PropertyMaps.cxx
parent2e963d0510aacf2d5e59a7604c106bae7a928921 (diff)
fdo#43460 xmloff: use isEmpty()
Change-Id: I298767cc0ec03c22d3ae687939f0f9d5ce1963c1 Reviewed-on: https://gerrit.libreoffice.org/4348 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'xmloff/source/chart/PropertyMaps.cxx')
-rw-r--r--xmloff/source/chart/PropertyMaps.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/chart/PropertyMaps.cxx b/xmloff/source/chart/PropertyMaps.cxx
index 9962a09d0f5d..1f8bd7809748 100644
--- a/xmloff/source/chart/PropertyMaps.cxx
+++ b/xmloff/source/chart/PropertyMaps.cxx
@@ -471,7 +471,7 @@ void XMLChartExportPropertyMapper::handleSpecialItem(
break;
}
- if( sValueBuffer.getLength())
+ if( !sValueBuffer.isEmpty())
{
sValue = sValueBuffer.makeStringAndClear();
sAttrName = rNamespaceMap.GetQNameByKey( nNameSpace, sAttrName );