diff options
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/rdf/librdf_repository.cxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx index 9ca65e65b3b0..8224d6991d6c 100644 --- a/unoxml/source/rdf/librdf_repository.cxx +++ b/unoxml/source/rdf/librdf_repository.cxx @@ -860,12 +860,6 @@ uno::Reference< rdf::XBlankNode > SAL_CALL librdf_Repository::createBlankNode() } } -bool formatNeedsBaseURI(::sal_Int16 i_Format) -{ - (void) i_Format; //FIXME any which don't? - return true; -} - //void SAL_CALL uno::Reference<rdf::XNamedGraph> SAL_CALL librdf_Repository::importGraph(::sal_Int16 i_Format, @@ -891,7 +885,7 @@ librdf_Repository::importGraph(::sal_Int16 i_Format, throw lang::IllegalArgumentException( "librdf_Repository::importGraph: URI is reserved", *this, 0); } - if (formatNeedsBaseURI(i_Format) && !i_xBaseURI.is()) { + if (!i_xBaseURI.is()) { //FIXME: any i_Format that don't need a base URI? throw lang::IllegalArgumentException( "librdf_Repository::importGraph: base URI is null", *this, 3); } @@ -1039,7 +1033,7 @@ librdf_Repository::exportGraph(::sal_Int16 i_Format, "librdf_Repository::exportGraph: " "graph name is null", *this, 2); } - if (formatNeedsBaseURI(i_Format) && !i_xBaseURI.is()) { + if (!i_xBaseURI.is()) { //FIXME: any i_Format that don't need a base URI? throw lang::IllegalArgumentException( "librdf_Repository::exportGraph: " "base URI is null", *this, 3); |