diff options
Diffstat (limited to 'xmloff/source/core/unoatrcn.cxx')
-rw-r--r-- | xmloff/source/core/unoatrcn.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/core/unoatrcn.cxx b/xmloff/source/core/unoatrcn.cxx index cc51124ead99..f479ba51e9ab 100644 --- a/xmloff/source/core/unoatrcn.cxx +++ b/xmloff/source/core/unoatrcn.cxx @@ -143,7 +143,7 @@ uno::Sequence< OUString > SAL_CALL SvUnoAttributeContainer::getElementNames(void for( sal_uInt16 nAttr = 0; nAttr < nAttrCount; nAttr++ ) { OUStringBuffer sBuffer( mpContainer->GetAttrPrefix(nAttr) ); - if( sBuffer.getLength() != 0L ) + if( !sBuffer.isEmpty() ) sBuffer.append( (sal_Unicode)':' ); sBuffer.append( mpContainer->GetAttrLName(nAttr) ); *pNames++ = sBuffer.makeStringAndClear(); |