summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/document.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom/document.cxx')
-rw-r--r--unoxml/source/dom/document.cxx33
1 files changed, 4 insertions, 29 deletions
diff --git a/unoxml/source/dom/document.cxx b/unoxml/source/dom/document.cxx
index 8c0b25d2ffc5..9911c33e9ab2 100644
--- a/unoxml/source/dom/document.cxx
+++ b/unoxml/source/dom/document.cxx
@@ -325,7 +325,6 @@ namespace DOM
void SAL_CALL CDocument::addListener(const Reference< XStreamListener >& aListener )
- throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -333,7 +332,6 @@ namespace DOM
}
void SAL_CALL CDocument::removeListener(const Reference< XStreamListener >& aListener )
- throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -370,7 +368,6 @@ namespace DOM
} // extern "C"
void SAL_CALL CDocument::start()
- throw (RuntimeException, std::exception)
{
listenerlist_t streamListeners;
{
@@ -411,20 +408,18 @@ namespace DOM
}
void SAL_CALL CDocument::terminate()
- throw (RuntimeException, std::exception)
{
// not supported
}
void SAL_CALL CDocument::setOutputStream( const Reference< XOutputStream >& aStream )
- throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
m_rOutputStream = aStream;
}
- Reference< XOutputStream > SAL_CALL CDocument::getOutputStream() throw (RuntimeException, std::exception)
+ Reference< XOutputStream > SAL_CALL CDocument::getOutputStream()
{
::osl::MutexGuard const g(m_Mutex);
@@ -433,7 +428,6 @@ namespace DOM
// Creates an Attr of the given name.
Reference< XAttr > SAL_CALL CDocument::createAttribute(const OUString& name)
- throw (RuntimeException, DOMException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -451,7 +445,6 @@ namespace DOM
// Creates an attribute of the given qualified name and namespace URI.
Reference< XAttr > SAL_CALL CDocument::createAttributeNS(
const OUString& ns, const OUString& qname)
- throw (RuntimeException, DOMException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -486,7 +479,6 @@ namespace DOM
// Creates a CDATASection node whose value is the specified string.
Reference< XCDATASection > SAL_CALL CDocument::createCDATASection(const OUString& data)
- throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -504,7 +496,6 @@ namespace DOM
// Creates a Comment node given the specified string.
Reference< XComment > SAL_CALL CDocument::createComment(const OUString& data)
- throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -519,7 +510,6 @@ namespace DOM
//Creates an empty DocumentFragment object.
Reference< XDocumentFragment > SAL_CALL CDocument::createDocumentFragment()
- throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -532,7 +522,6 @@ namespace DOM
// Creates an element of the type specified.
Reference< XElement > SAL_CALL CDocument::createElement(const OUString& tagName)
- throw (RuntimeException, DOMException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -548,7 +537,6 @@ namespace DOM
// Creates an element of the given qualified name and namespace URI.
Reference< XElement > SAL_CALL CDocument::createElementNS(
const OUString& ns, const OUString& qname)
- throw (RuntimeException, DOMException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -584,7 +572,6 @@ namespace DOM
//Creates an EntityReference object.
Reference< XEntityReference > SAL_CALL CDocument::createEntityReference(const OUString& name)
- throw (RuntimeException, DOMException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -601,7 +588,6 @@ namespace DOM
// data strings.
Reference< XProcessingInstruction > SAL_CALL CDocument::createProcessingInstruction(
const OUString& target, const OUString& data)
- throw (RuntimeException, DOMException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -619,7 +605,6 @@ namespace DOM
// Creates a Text node given the specified string.
Reference< XText > SAL_CALL CDocument::createTextNode(const OUString& data)
- throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -635,7 +620,6 @@ namespace DOM
// The Document Type Declaration (see DocumentType) associated with this
// document.
Reference< XDocumentType > SAL_CALL CDocument::getDoctype()
- throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -649,7 +633,6 @@ namespace DOM
// This is a convenience attribute that allows direct access to the child
// node that is the root element of the document.
Reference< XElement > SAL_CALL CDocument::getDocumentElement()
- throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -690,7 +673,6 @@ namespace DOM
// Returns the Element whose ID is given by elementId.
Reference< XElement > SAL_CALL
CDocument::getElementById(const OUString& elementId)
- throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -709,7 +691,6 @@ namespace DOM
Reference< XNodeList > SAL_CALL
CDocument::getElementsByTagName(OUString const& rTagname)
- throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -720,7 +701,6 @@ namespace DOM
Reference< XNodeList > SAL_CALL CDocument::getElementsByTagNameNS(
OUString const& rNamespaceURI, OUString const& rLocalName)
- throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -731,7 +711,6 @@ namespace DOM
}
Reference< XDOMImplementation > SAL_CALL CDocument::getImplementation()
- throw (RuntimeException, std::exception)
{
// does not need mutex currently
return Reference< XDOMImplementation >(CDOMImplementation::get());
@@ -916,7 +895,6 @@ namespace DOM
Reference< XNode > SAL_CALL CDocument::importNode(
Reference< XNode > const& xImportedNode, sal_Bool deep)
- throw (RuntimeException, DOMException, std::exception)
{
if (!xImportedNode.is()) { throw RuntimeException(); }
@@ -945,20 +923,19 @@ namespace DOM
return xNode;
}
- OUString SAL_CALL CDocument::getNodeName()throw (RuntimeException, std::exception)
+ OUString SAL_CALL CDocument::getNodeName()
{
// does not need mutex currently
return OUString("#document");
}
- OUString SAL_CALL CDocument::getNodeValue() throw (RuntimeException, std::exception)
+ OUString SAL_CALL CDocument::getNodeValue()
{
// does not need mutex currently
return OUString();
}
Reference< XNode > SAL_CALL CDocument::cloneNode(sal_Bool bDeep)
- throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_rMutex);
@@ -973,7 +950,7 @@ namespace DOM
return xRet;
}
- Reference< XEvent > SAL_CALL CDocument::createEvent(const OUString& aType) throw (RuntimeException, std::exception)
+ Reference< XEvent > SAL_CALL CDocument::createEvent(const OUString& aType)
{
// does not need mutex currently
events::CEvent *pEvent = nullptr;
@@ -1002,7 +979,6 @@ namespace DOM
void SAL_CALL CDocument::serialize(
const Reference< XDocumentHandler >& i_xHandler,
const Sequence< beans::StringPair >& i_rNamespaces)
- throw (RuntimeException, SAXException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);
@@ -1031,7 +1007,6 @@ namespace DOM
const Reference< XFastTokenHandler >& i_xTokenHandler,
const Sequence< beans::StringPair >& i_rNamespaces,
const Sequence< beans::Pair< OUString, sal_Int32 > >& i_rRegisterNamespaces )
- throw (SAXException, RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_Mutex);