diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-25 17:00:07 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-25 19:30:07 -0200 |
commit | 4228c5542b57b43064bbefb3cc79c4eb51e059d6 (patch) | |
tree | ddf65f77ca447f2063e958002aeacb6a4f320912 /xmloff/source/core/RDFaExportHelper.cxx | |
parent | 3e82bf0e5e6a1d5dcbe6b7ebbbe124912e8e8700 (diff) |
Fix for fdo43460 Part XLVII getLength() to isEmpty()
Part XLVII
Modules
xmloff (part 1)
Diffstat (limited to 'xmloff/source/core/RDFaExportHelper.cxx')
-rw-r--r-- | xmloff/source/core/RDFaExportHelper.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/core/RDFaExportHelper.cxx b/xmloff/source/core/RDFaExportHelper.cxx index b8873afc9c85..4527dab12b27 100644 --- a/xmloff/source/core/RDFaExportHelper.cxx +++ b/xmloff/source/core/RDFaExportHelper.cxx @@ -75,8 +75,8 @@ makeCURIE(SvXMLExport * i_pExport, if (!i_xURI.is()) throw uno::RuntimeException(); const ::rtl::OUString Namespace( i_xURI->getNamespace() ); - OSL_ENSURE(Namespace.getLength(), "makeCURIE: no namespace"); - if (!Namespace.getLength()) throw uno::RuntimeException(); + OSL_ENSURE(!Namespace.isEmpty(), "makeCURIE: no namespace"); + if (Namespace.isEmpty()) throw uno::RuntimeException(); ::rtl::OUStringBuffer buf; buf.append( i_pExport->EnsureNamespace(Namespace) ); @@ -140,7 +140,7 @@ RDFaExportHelper::LookupBlankNode( if (!i_xBlankNode.is()) throw uno::RuntimeException(); ::rtl::OUString & rEntry( m_BlankNodeMap[ i_xBlankNode->getStringValue() ] ); - if (!rEntry.getLength()) + if (rEntry.isEmpty()) { ::rtl::OUStringBuffer buf; buf.appendAscii(s_prefix); |