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