summaryrefslogtreecommitdiff
path: root/unoxml/source/rdf/CLiteral.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/rdf/CLiteral.cxx')
-rw-r--r--unoxml/source/rdf/CLiteral.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/rdf/CLiteral.cxx b/unoxml/source/rdf/CLiteral.cxx
index 5b63e81b832b..25a8267f5cc5 100644
--- a/unoxml/source/rdf/CLiteral.cxx
+++ b/unoxml/source/rdf/CLiteral.cxx
@@ -124,7 +124,7 @@ void SAL_CALL CLiteral::initialize(const css::uno::Sequence< ::com::sun::star::u
"argument must be string"), *this, 0);
}
//FIXME: what is legal?
- if (arg0.getLength() > 0) {
+ if (true) {
m_Value = arg0;
} else {
throw css::lang::IllegalArgumentException(