summaryrefslogtreecommitdiff
path: root/unoxml/source/rdf/CURI.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/rdf/CURI.cxx')
-rw-r--r--unoxml/source/rdf/CURI.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/rdf/CURI.cxx b/unoxml/source/rdf/CURI.cxx
index 414267ffe795..fe40ddb4e182 100644
--- a/unoxml/source/rdf/CURI.cxx
+++ b/unoxml/source/rdf/CURI.cxx
@@ -803,7 +803,7 @@ void SAL_CALL CURI::initialize(const css::uno::Sequence< ::com::sun::star::uno::
}
//FIXME: what is legal?
- if (arg0.getLength() > 0) {
+ if (!arg0.isEmpty()) {
m_Namespace = arg0;
} else {
throw css::lang::IllegalArgumentException(