summaryrefslogtreecommitdiff
path: root/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/core/XMLEmbeddedObjectImportContext.cxx')
-rw-r--r--xmloff/source/core/XMLEmbeddedObjectImportContext.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
index 65432b8df4e9..a7db987cdf11 100644
--- a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
+++ b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
@@ -155,7 +155,7 @@ TYPEINIT1( XMLEmbeddedObjectImportContext, SvXMLImportContext );
sal_Bool XMLEmbeddedObjectImportContext::SetComponent(
Reference< XComponent >& rComp )
{
- if( !rComp.is() || !sFilterService.getLength() )
+ if( !rComp.is() || sFilterService.isEmpty() )
return sal_False;
@@ -238,7 +238,7 @@ XMLEmbeddedObjectImportContext::XMLEmbeddedObjectImportContext(
}
}
- if( sClass.getLength() )
+ if( !sClass.isEmpty() )
{
const XMLServiceMapEntry_Impl *pEntry = aServiceMap;
while( pEntry->eClass != XML_TOKEN_INVALID )
@@ -303,7 +303,7 @@ void XMLEmbeddedObjectImportContext::StartElement(
while( USHRT_MAX != nPos )
{
OUString aAttrName( rNamespaceMap.GetAttrNameByKey( nPos ) );
- if( 0 == xAttrList->getValueByName( aAttrName ).getLength() )
+ if( xAttrList->getValueByName( aAttrName ).isEmpty() )
{
pAttrList->AddAttribute( aAttrName,
rNamespaceMap.GetNameByKey( nPos ) );