summaryrefslogtreecommitdiff
path: root/xmloff/source/transform/OOo2Oasis.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-27 16:46:15 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-27 19:14:06 -0200
commit260054594c91af05f2825d512801200797d10075 (patch)
tree189a9b27389a76fa373b2f427b39acc4868971f9 /xmloff/source/transform/OOo2Oasis.cxx
parent983de9808159036bd5de008d895ba6e5566c99f6 (diff)
Fix for fdo43460 Part LIII getLength() to isEmpty()
Part LIII Modules xmloff (part 6)
Diffstat (limited to 'xmloff/source/transform/OOo2Oasis.cxx')
-rw-r--r--xmloff/source/transform/OOo2Oasis.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/transform/OOo2Oasis.cxx b/xmloff/source/transform/OOo2Oasis.cxx
index 264b062d141c..35824f820522 100644
--- a/xmloff/source/transform/OOo2Oasis.cxx
+++ b/xmloff/source/transform/OOo2Oasis.cxx
@@ -1287,7 +1287,7 @@ void XMLBodyTransformerContext_Impl::StartElement(
new XMLMutableAttributeList( rAttrList );
Reference< XAttributeList > xAttrList = pMutableAttrList;
OUString aClass( GetTransformer().GetClass() );
- if( !aClass.getLength() )
+ if( aClass.isEmpty() )
{
aClass = GetXMLToken( XML_TEXT );
}
@@ -1383,7 +1383,7 @@ void XMLTabStopOOoTContext_Impl::StartElement(
aNewAttrQName );
}
if( IsXMLToken( aLocalName, XML_LEADER_CHAR ) &&
- rAttrValue.getLength() > 0 &&
+ !rAttrValue.isEmpty() &&
rAttrValue[0] != ' ' )
{
OUString aNewAttrQName(
@@ -1980,7 +1980,7 @@ void SAL_CALL OOo2OasisTransformer::Initialize(
OSL_ENSURE( !GetDocHandler().is(), "duplication initialization" );
Reference< XDocumentHandler > xDocHandler;
- if( m_aSubServiceName.getLength() )
+ if( !m_aSubServiceName.isEmpty() )
{
Reference< XMultiServiceFactory > xFactory =
comphelper::getProcessServiceFactory();