diff options
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/rdf/CLiteral.cxx | 2 | ||||
-rw-r--r-- | unoxml/source/rdf/makefile.mk | 2 |
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 ------------------------------------------------------ |