summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2011-02-10 16:45:05 +0100
committerMichael Stahl <mst@openoffice.org>2011-02-10 16:45:05 +0100
commit001145d71e0592bdf90a80f33d1abb32846aae21 (patch)
tree7ba47c1ab48e316972e6625ed79b9dc751b2f4a7 /unoxml
parent253150cf8d7794647a638630a55f4f0ff847d200 (diff)
xmlfix3: #i113683#: unoxml: all unimplemented methods assert
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/dom/documenttype.cxx3
-rw-r--r--unoxml/source/dom/domimplementation.cxx6
-rw-r--r--unoxml/source/dom/entitiesmap.cxx15
-rw-r--r--unoxml/source/dom/entity.cxx3
-rw-r--r--unoxml/source/dom/node.cxx3
-rw-r--r--unoxml/source/dom/notation.cxx6
-rw-r--r--unoxml/source/dom/notationsmap.cxx15
-rw-r--r--unoxml/source/dom/text.cxx1
8 files changed, 47 insertions, 5 deletions
diff --git a/unoxml/source/dom/documenttype.cxx b/unoxml/source/dom/documenttype.cxx
index 5042dbaaea61..f105e804ec9f 100644
--- a/unoxml/source/dom/documenttype.cxx
+++ b/unoxml/source/dom/documenttype.cxx
@@ -66,7 +66,8 @@ namespace DOM
*/
OUString SAL_CALL CDocumentType::getInternalSubset() throw (RuntimeException)
{
- // XXX
+ OSL_ENSURE(false,
+ "CDocumentType::getInternalSubset: not implemented (#i113683#)");
return OUString();
}
diff --git a/unoxml/source/dom/domimplementation.cxx b/unoxml/source/dom/domimplementation.cxx
index 7782bab40af5..6f4cc692cba8 100644
--- a/unoxml/source/dom/domimplementation.cxx
+++ b/unoxml/source/dom/domimplementation.cxx
@@ -58,6 +58,8 @@ namespace DOM
Reference< XDocumentType > const& /*xDoctype*/)
throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CDOMImplementation::createDocument: not implemented (#i113683#)");
return Reference<XDocument>();
}
@@ -69,6 +71,8 @@ namespace DOM
OUString const& /*rPublicId*/, OUString const& /*rSystemId*/)
throw (RuntimeException)
{
+ OSL_ENSURE(false, "CDOMImplementation::createDocumentType: "
+ "not implemented (#i113683#)");
return Reference<XDocumentType>();
}
@@ -79,6 +83,8 @@ namespace DOM
CDOMImplementation::hasFeature(OUString const& /*feature*/, OUString const& /*ver*/)
throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CDOMImplementation::hasFeature: not implemented (#i113683#)");
return sal_False;
}
}
diff --git a/unoxml/source/dom/entitiesmap.cxx b/unoxml/source/dom/entitiesmap.cxx
index 960936ce0aa9..aab2f5551332 100644
--- a/unoxml/source/dom/entitiesmap.cxx
+++ b/unoxml/source/dom/entitiesmap.cxx
@@ -44,6 +44,8 @@ namespace DOM
*/
sal_Int32 SAL_CALL CEntitiesMap::getLength() throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CEntitiesMap::getLength: not implemented (#i113683#)");
return 0;
}
@@ -53,6 +55,8 @@ namespace DOM
Reference< XNode > SAL_CALL
CEntitiesMap::getNamedItem(OUString const& /*name*/) throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CEntitiesMap::getNamedItem: not implemented (#i113683#)");
return Reference< XNode >();
}
@@ -64,6 +68,8 @@ namespace DOM
OUString const& /*namespaceURI*/, OUString const& /*localName*/)
throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CEntitiesMap::getNamedItemNS: not implemented (#i113683#)");
return Reference< XNode >();
}
@@ -73,6 +79,7 @@ namespace DOM
Reference< XNode > SAL_CALL
CEntitiesMap::item(sal_Int32 /*index*/) throw (RuntimeException)
{
+ OSL_ENSURE(false, "CEntitiesMap::item: not implemented (#i113683#)");
return Reference< XNode >();
}
@@ -83,6 +90,8 @@ namespace DOM
CEntitiesMap::removeNamedItem(OUString const& /*name*/)
throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CEntitiesMap::removeNamedItem: not implemented (#i113683#)");
return Reference< XNode >();
}
@@ -94,6 +103,8 @@ namespace DOM
OUString const& /*namespaceURI*/, OUString const& /*localName*/)
throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CEntitiesMap::removeNamedItemNS: not implemented (#i113683#)");
return Reference< XNode >();
}
@@ -104,6 +115,8 @@ namespace DOM
CEntitiesMap::setNamedItem(Reference< XNode > const& /*arg*/)
throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CEntitiesMap::setNamedItem: not implemented (#i113683#)");
return Reference< XNode >();
}
@@ -114,6 +127,8 @@ namespace DOM
CEntitiesMap::setNamedItemNS(Reference< XNode > const& /*arg*/)
throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CEntitiesMap::setNamedItemNS: not implemented (#i113683#)");
return Reference< XNode >();
}
}
diff --git a/unoxml/source/dom/entity.cxx b/unoxml/source/dom/entity.cxx
index 0e396d94eb00..3fb1790ab621 100644
--- a/unoxml/source/dom/entity.cxx
+++ b/unoxml/source/dom/entity.cxx
@@ -61,7 +61,8 @@ namespace DOM
*/
OUString SAL_CALL CEntity::getNotationName() throw (RuntimeException)
{
- // XXX
+ OSL_ENSURE(false,
+ "CEntity::getNotationName: not implemented (#i113683#)");
return OUString();
}
diff --git a/unoxml/source/dom/node.cxx b/unoxml/source/dom/node.cxx
index f134e79230f6..fb95fa6ade02 100644
--- a/unoxml/source/dom/node.cxx
+++ b/unoxml/source/dom/node.cxx
@@ -747,7 +747,7 @@ namespace DOM
sal_Bool SAL_CALL CNode::isSupported(const OUString& /*feature*/, const OUString& /*ver*/)
throw (RuntimeException)
{
- // XXX
+ OSL_ENSURE(false, "CNode::isSupported: not implemented (#i113683#)");
return sal_False;
}
@@ -762,6 +762,7 @@ namespace DOM
throw (RuntimeException)
{
//XXX combine adjacent text nodes and remove empty ones
+ OSL_ENSURE(false, "CNode::normalize: not implemented (#i113683#)");
}
/**
diff --git a/unoxml/source/dom/notation.cxx b/unoxml/source/dom/notation.cxx
index 2522dd236d78..5988d1a9761f 100644
--- a/unoxml/source/dom/notation.cxx
+++ b/unoxml/source/dom/notation.cxx
@@ -41,7 +41,8 @@ namespace DOM
OUString SAL_CALL CNotation::getPublicId() throw (RuntimeException)
{
- // XXX
+ OSL_ENSURE(false,
+ "CNotation::getPublicId: not implemented (#i113683#)");
return OUString();
}
@@ -50,7 +51,8 @@ namespace DOM
*/
OUString SAL_CALL CNotation::getSystemId() throw (RuntimeException)
{
- // XXX
+ OSL_ENSURE(false,
+ "CNotation::getSystemId: not implemented (#i113683#)");
return OUString();
}
diff --git a/unoxml/source/dom/notationsmap.cxx b/unoxml/source/dom/notationsmap.cxx
index adda914ee166..a37fed98cc04 100644
--- a/unoxml/source/dom/notationsmap.cxx
+++ b/unoxml/source/dom/notationsmap.cxx
@@ -45,6 +45,8 @@ namespace DOM
*/
sal_Int32 SAL_CALL CNotationsMap::getLength() throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CNotationsMap::getLength: not implemented (#i113683#)");
return 0;
}
@@ -55,6 +57,8 @@ namespace DOM
CNotationsMap::getNamedItem(OUString const& /*name*/)
throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CNotationsMap::getNamedItem: not implemented (#i113683#)");
return Reference< XNode >();
}
@@ -66,6 +70,8 @@ namespace DOM
OUString const& /*namespaceURI*/, OUString const& /*localName*/)
throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CNotationsMap::getNamedItemNS: not implemented (#i113683#)");
return Reference< XNode >();
}
@@ -75,6 +81,7 @@ namespace DOM
Reference< XNode > SAL_CALL
CNotationsMap::item(sal_Int32 /*index*/) throw (RuntimeException)
{
+ OSL_ENSURE(false, "CNotationsMap::item: not implemented (#i113683#)");
return Reference< XNode >();
}
@@ -85,6 +92,8 @@ namespace DOM
CNotationsMap::removeNamedItem(OUString const& /*name*/)
throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CNotationsMap::removeNamedItem: not implemented (#i113683#)");
return Reference< XNode >();
}
@@ -96,6 +105,8 @@ namespace DOM
OUString const& /*namespaceURI*/, OUString const& /*localName*/)
throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CNotationsMap::removeNamedItemNS: not implemented (#i113683#)");
return Reference< XNode >();
}
@@ -106,6 +117,8 @@ namespace DOM
CNotationsMap::setNamedItem(Reference< XNode > const& /*arg*/)
throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CNotationsMap::setNamedItem: not implemented (#i113683#)");
return Reference< XNode >();
}
@@ -116,6 +129,8 @@ namespace DOM
CNotationsMap::setNamedItemNS(Reference< XNode > const& /*arg*/)
throw (RuntimeException)
{
+ OSL_ENSURE(false,
+ "CNotationsMap::setNamedItemNS: not implemented (#i113683#)");
return Reference< XNode >();
}
}
diff --git a/unoxml/source/dom/text.cxx b/unoxml/source/dom/text.cxx
index f69219550fe5..5d07aa86a6d4 100644
--- a/unoxml/source/dom/text.cxx
+++ b/unoxml/source/dom/text.cxx
@@ -69,6 +69,7 @@ namespace DOM
Reference< XText > SAL_CALL CText::splitText(sal_Int32 /*offset*/)
throw (RuntimeException)
{
+ OSL_ENSURE(false, "CText::splitText: not implemented (#i113683#)");
return Reference< XText >(this);
}
}