summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2009-09-25 21:47:16 +0200
committerMathias Bauer <mba@openoffice.org>2009-09-25 21:47:16 +0200
commit9beefd6ebe5eb283711e4acbd37a3218bcf4ec76 (patch)
tree7f3839e36e2cd8edf26189cf87195cec47c787c1 /unoxml
parent416fc7a2be488e0e0234e88455761f62b8a6ac5a (diff)
parent39f317ff5b64c9a00484921c5dda290ef33b03d1 (diff)
merge commit
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/rdf/CLiteral.cxx2
-rw-r--r--unoxml/source/rdf/makefile.mk2
2 files changed, 3 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(
diff --git a/unoxml/source/rdf/makefile.mk b/unoxml/source/rdf/makefile.mk
index 4ff9e4fdfeab..298c1dcdae25 100644
--- a/unoxml/source/rdf/makefile.mk
+++ b/unoxml/source/rdf/makefile.mk
@@ -46,6 +46,7 @@ CFLAGS+=-DSYSTEM_REDLAND $(REDLAND_CFLAGS)
.ENDIF
# --- Files --------------------------------------------------------
+.IF "$(L10N_framework)"==""
SLOFILES = \
$(SLO)$/CBlankNode.obj \
@@ -71,6 +72,7 @@ SHL1STDLIBS= \
$(CPPULIB) \
$(SALLIB) \
+.ENDIF
# --- Targets ------------------------------------------------------