diff options
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/inc/node.hxx | 2 | ||||
-rw-r--r-- | unoxml/source/dom/domimplementation.cxx | 4 | ||||
-rw-r--r-- | unoxml/source/dom/domimplementation.hxx | 4 | ||||
-rw-r--r-- | unoxml/source/dom/node.cxx | 2 | ||||
-rw-r--r-- | unoxml/source/rdf/librdf_repository.cxx | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/unoxml/inc/node.hxx b/unoxml/inc/node.hxx index bec0a8c9b8c1..e6974271f83a 100644 --- a/unoxml/inc/node.hxx +++ b/unoxml/inc/node.hxx @@ -117,7 +117,7 @@ namespace DOM virtual ~CNode() override; - static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw(); + static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() noexcept; xmlNodePtr GetNodePtr() { return m_aNodePtr; } diff --git a/unoxml/source/dom/domimplementation.cxx b/unoxml/source/dom/domimplementation.cxx index 40afdb3196dd..41cf2c7c053c 100644 --- a/unoxml/source/dom/domimplementation.cxx +++ b/unoxml/source/dom/domimplementation.cxx @@ -41,8 +41,8 @@ namespace DOM } // there is just 1 static instance, so these must not delete it! - void SAL_CALL CDOMImplementation::acquire() throw () { } - void SAL_CALL CDOMImplementation::release() throw () { } + void SAL_CALL CDOMImplementation::acquire() noexcept { } + void SAL_CALL CDOMImplementation::release() noexcept { } /** Creates a DOM Document object of the specified type with its document element. diff --git a/unoxml/source/dom/domimplementation.hxx b/unoxml/source/dom/domimplementation.hxx index e2f2509445bc..955a4e32ea56 100644 --- a/unoxml/source/dom/domimplementation.hxx +++ b/unoxml/source/dom/domimplementation.hxx @@ -38,8 +38,8 @@ namespace DOM static CDOMImplementation* get(); // there is just 1 static instance, so these must not delete it! - virtual void SAL_CALL acquire() throw () override; - virtual void SAL_CALL release() throw () override; + virtual void SAL_CALL acquire() noexcept override; + virtual void SAL_CALL release() noexcept override; /** Creates a DOM Document object of the specified type with its document element. diff --git a/unoxml/source/dom/node.cxx b/unoxml/source/dom/node.cxx index ce6b9e7beb54..a6809cf7df47 100644 --- a/unoxml/source/dom/node.cxx +++ b/unoxml/source/dom/node.cxx @@ -162,7 +162,7 @@ namespace DOM } } - const css::uno::Sequence< sal_Int8 > & CNode::getUnoTunnelId() throw() + const css::uno::Sequence< sal_Int8 > & CNode::getUnoTunnelId() noexcept { static const UnoTunnelIdInit theCNodeUnoTunnelId; return theCNodeUnoTunnelId.getSeq(); diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx index d6b0a41e029d..6ed9e552cef6 100644 --- a/unoxml/source/rdf/librdf_repository.cxx +++ b/unoxml/source/rdf/librdf_repository.cxx @@ -96,7 +96,7 @@ const char s_nsOOo [] = "http://openoffice.org/2004/office/rdfa/"; //FIXME: this approach is not ideal. can we use blank nodes instead? -bool isInternalContext(librdf_node *i_pNode) throw () +bool isInternalContext(librdf_node *i_pNode) noexcept { OSL_ENSURE(i_pNode, "isInternalContext: context null"); OSL_ENSURE(librdf_node_is_resource(i_pNode), @@ -638,7 +638,7 @@ class NodeArray : private std::vector<librdf_node*> public: NodeArray(int cnt) : std::vector<librdf_node*>(cnt) {} - ~NodeArray() throw () + ~NodeArray() noexcept { std::for_each(begin(), end(), safe_librdf_free_node); } |