summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/PropertyMaps.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-25 17:00:07 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-25 19:30:07 -0200
commit4228c5542b57b43064bbefb3cc79c4eb51e059d6 (patch)
treeddf65f77ca447f2063e958002aeacb6a4f320912 /xmloff/source/chart/PropertyMaps.cxx
parent3e82bf0e5e6a1d5dcbe6b7ebbbe124912e8e8700 (diff)
Fix for fdo43460 Part XLVII getLength() to isEmpty()
Part XLVII Modules xmloff (part 1)
Diffstat (limited to 'xmloff/source/chart/PropertyMaps.cxx')
-rw-r--r--xmloff/source/chart/PropertyMaps.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/chart/PropertyMaps.cxx b/xmloff/source/chart/PropertyMaps.cxx
index d8eb9aab9644..0856f0cdc288 100644
--- a/xmloff/source/chart/PropertyMaps.cxx
+++ b/xmloff/source/chart/PropertyMaps.cxx
@@ -302,7 +302,7 @@ void XMLChartExportPropertyMapper::handleElementItem(
// export as XLink reference into the package
// if embedding is off
::rtl::OUString sTempURL( mrExport.AddEmbeddedGraphicObject( aURLStr ));
- if( sTempURL.getLength() )
+ if( !sTempURL.isEmpty() )
{
mrExport.AddAttribute( XML_NAMESPACE_XLINK, XML_HREF, sTempURL );
mrExport.AddAttribute( XML_NAMESPACE_XLINK, XML_TYPE,
@@ -321,7 +321,7 @@ void XMLChartExportPropertyMapper::handleElementItem(
// export as Base64 embedded graphic
// if embedding is on
- if( aURLStr.getLength())
+ if( !aURLStr.isEmpty())
mrExport.AddEmbeddedGraphicObjectAsBase64( aURLStr );
}
}
@@ -332,7 +332,7 @@ void XMLChartExportPropertyMapper::handleElementItem(
::rtl::OUString aSeparator;
rProperty.maValue >>= aSeparator;
- if( aSeparator.getLength() )
+ if( !aSeparator.isEmpty() )
{
sal_uInt32 nPropIndex = rProperty.mnIndex;
SvXMLElementExport aElem( mrExport,