Kaydet (Commit) 001145d7 authored tarafından Michael Stahl's avatar Michael Stahl

xmlfix3: #i113683#: unoxml: all unimplemented methods assert

üst 253150cf
......@@ -66,7 +66,8 @@ namespace DOM
*/
OUString SAL_CALL CDocumentType::getInternalSubset() throw (RuntimeException)
{
// XXX
OSL_ENSURE(false,
"CDocumentType::getInternalSubset: not implemented (#i113683#)");
return OUString();
}
......
......@@ -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;
}
}
......@@ -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 >();
}
}
......@@ -61,7 +61,8 @@ namespace DOM
*/
OUString SAL_CALL CEntity::getNotationName() throw (RuntimeException)
{
// XXX
OSL_ENSURE(false,
"CEntity::getNotationName: not implemented (#i113683#)");
return OUString();
}
......
......@@ -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#)");
}
/**
......
......@@ -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();
}
......
......@@ -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 >();
}
}
......@@ -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);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment