summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/shapeexport4.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/draw/shapeexport4.cxx')
-rw-r--r--xmloff/source/draw/shapeexport4.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/draw/shapeexport4.cxx b/xmloff/source/draw/shapeexport4.cxx
index ad34554b18f0..b83f73e810c4 100644
--- a/xmloff/source/draw/shapeexport4.cxx
+++ b/xmloff/source/draw/shapeexport4.cxx
@@ -78,7 +78,7 @@ using ::com::sun::star::uno::Sequence;
void ExportParameter( OUStringBuffer& rStrBuffer, const com::sun::star::drawing::EnhancedCustomShapeParameter& rParameter )
{
- if ( rStrBuffer.getLength() )
+ if ( !rStrBuffer.isEmpty() )
rStrBuffer.append( (sal_Unicode)' ' );
if ( rParameter.Value.getValueTypeClass() == uno::TypeClass_DOUBLE )
{
@@ -364,7 +364,7 @@ void ImpExportEnhancedPath( SvXMLExport& rExport,
else
aSegment = rSegments[ j ];
- if ( aStrBuffer.getLength() )
+ if ( !aStrBuffer.isEmpty() )
aStrBuffer.append( (sal_Unicode)' ' );
sal_Int32 nParameter = 0;