diff options
Diffstat (limited to 'xmloff/source/transform')
-rw-r--r-- | xmloff/source/transform/MutableAttrList.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/transform/MutableAttrList.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/transform/OOo2Oasis.cxx | 6 | ||||
-rw-r--r-- | xmloff/source/transform/OOo2Oasis.hxx | 10 | ||||
-rw-r--r-- | xmloff/source/transform/Oasis2OOo.cxx | 6 | ||||
-rw-r--r-- | xmloff/source/transform/Oasis2OOo.hxx | 6 | ||||
-rw-r--r-- | xmloff/source/transform/TransformerBase.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/transform/TransformerBase.hxx | 4 |
8 files changed, 20 insertions, 20 deletions
diff --git a/xmloff/source/transform/MutableAttrList.cxx b/xmloff/source/transform/MutableAttrList.cxx index a8a55990a59c..fc11fb964716 100644 --- a/xmloff/source/transform/MutableAttrList.cxx +++ b/xmloff/source/transform/MutableAttrList.cxx @@ -57,7 +57,7 @@ XMLMutableAttributeList::~XMLMutableAttributeList() m_xAttrList = nullptr; } -const css::uno::Sequence<sal_Int8>& XMLMutableAttributeList::getUnoTunnelId() throw() +const css::uno::Sequence<sal_Int8>& XMLMutableAttributeList::getUnoTunnelId() noexcept { static const UnoTunnelIdInit theXMLMutableAttributeListUnoTunnelId; return theXMLMutableAttributeListUnoTunnelId.getSeq(); diff --git a/xmloff/source/transform/MutableAttrList.hxx b/xmloff/source/transform/MutableAttrList.hxx index 6c72fd9112c1..c025ffc5cc94 100644 --- a/xmloff/source/transform/MutableAttrList.hxx +++ b/xmloff/source/transform/MutableAttrList.hxx @@ -47,7 +47,7 @@ public: virtual ~XMLMutableAttributeList() override; // XUnoTunnel - static const css::uno::Sequence<sal_Int8>& getUnoTunnelId() throw(); + static const css::uno::Sequence<sal_Int8>& getUnoTunnelId() noexcept; virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override; // css::xml::sax::XAttributeList diff --git a/xmloff/source/transform/OOo2Oasis.cxx b/xmloff/source/transform/OOo2Oasis.cxx index ff947c0731ef..5495864bf120 100644 --- a/xmloff/source/transform/OOo2Oasis.cxx +++ b/xmloff/source/transform/OOo2Oasis.cxx @@ -1768,7 +1768,7 @@ OUString OOo2OasisTransformer::GetEventName( const OUString& rName, bool ) OOo2OasisTransformer::OOo2OasisTransformer( OUString const & rImplName, OUString const & rSubServiceName ) - throw() : + noexcept : XMLTransformerBase( aActionTable, aTokenMap ), m_aImplName(rImplName), m_aSubServiceName(rSubServiceName), @@ -1823,7 +1823,7 @@ OOo2OasisTransformer::OOo2OasisTransformer( OUString const & rImplName, rp.reset(); } -OOo2OasisTransformer::~OOo2OasisTransformer() throw() +OOo2OasisTransformer::~OOo2OasisTransformer() noexcept { for(auto & rp : m_aActions) rp.reset(); @@ -1944,7 +1944,7 @@ void OOo2OasisTransformer::Initialize( } } -const css::uno::Sequence<sal_Int8>& OOo2OasisTransformer::getUnoTunnelId() throw() +const css::uno::Sequence<sal_Int8>& OOo2OasisTransformer::getUnoTunnelId() noexcept { static const UnoTunnelIdInit theOOo2OasisTransformerUnoTunnelId; return theOOo2OasisTransformerUnoTunnelId.getSeq(); diff --git a/xmloff/source/transform/OOo2Oasis.hxx b/xmloff/source/transform/OOo2Oasis.hxx index 64ce800f9199..43d69853f4ef 100644 --- a/xmloff/source/transform/OOo2Oasis.hxx +++ b/xmloff/source/transform/OOo2Oasis.hxx @@ -47,8 +47,8 @@ protected: public: OOo2OasisTransformer( OUString const & rImplName, - OUString const & rSubServiceName ) throw(); - virtual ~OOo2OasisTransformer() throw() override; + OUString const & rSubServiceName ) noexcept; + virtual ~OOo2OasisTransformer() noexcept override; // XInterface @@ -59,10 +59,10 @@ public: virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override; - virtual void SAL_CALL acquire( ) throw () override + virtual void SAL_CALL acquire( ) noexcept override { XMLTransformerBase::acquire(); }; - virtual void SAL_CALL release( ) throw () override + virtual void SAL_CALL release( ) noexcept override { XMLTransformerBase::release(); }; // XInitialization @@ -78,7 +78,7 @@ public: virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override; // XUnoTunnel - static const css::uno::Sequence<sal_Int8>& getUnoTunnelId() throw(); + static const css::uno::Sequence<sal_Int8>& getUnoTunnelId() noexcept; virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override; // XImporter diff --git a/xmloff/source/transform/Oasis2OOo.cxx b/xmloff/source/transform/Oasis2OOo.cxx index c74013307d68..ceb5daeffcfd 100644 --- a/xmloff/source/transform/Oasis2OOo.cxx +++ b/xmloff/source/transform/Oasis2OOo.cxx @@ -1878,7 +1878,7 @@ OUString Oasis2OOoTransformer::GetEventName( const OUString& rName, bForm ? m_pFormEventMap : nullptr ); } -Oasis2OOoTransformer::Oasis2OOoTransformer() throw() : +Oasis2OOoTransformer::Oasis2OOoTransformer() noexcept : XMLTransformerBase( aActionTable, aTokenMap ), m_pEventMap( nullptr ), m_pFormEventMap( nullptr ) @@ -1935,7 +1935,7 @@ Oasis2OOoTransformer::Oasis2OOoTransformer() throw() : rp.reset(); } -Oasis2OOoTransformer::~Oasis2OOoTransformer() throw() +Oasis2OOoTransformer::~Oasis2OOoTransformer() noexcept { for(auto & rp : m_aActions) rp.reset(); @@ -1943,7 +1943,7 @@ Oasis2OOoTransformer::~Oasis2OOoTransformer() throw() XMLEventOASISTransformerContext::FlushEventMap( m_pFormEventMap ); } -const css::uno::Sequence<sal_Int8>& Oasis2OOoTransformer::getUnoTunnelId() throw() +const css::uno::Sequence<sal_Int8>& Oasis2OOoTransformer::getUnoTunnelId() noexcept { static const class UnoTunnelIdInit theOasis2OOoTransformerUnoTunnelId; return theOasis2OOoTransformerUnoTunnelId.getSeq(); diff --git a/xmloff/source/transform/Oasis2OOo.hxx b/xmloff/source/transform/Oasis2OOo.hxx index c7d4ba6d349d..fe3db7ceafa8 100644 --- a/xmloff/source/transform/Oasis2OOo.hxx +++ b/xmloff/source/transform/Oasis2OOo.hxx @@ -40,8 +40,8 @@ protected: virtual XMLTransformerActions *GetUserDefinedActions( sal_uInt16 n ) override; public: - Oasis2OOoTransformer () throw(); - virtual ~Oasis2OOoTransformer() throw() override; + Oasis2OOoTransformer () noexcept; + virtual ~Oasis2OOoTransformer() noexcept override; // XServiceInfo virtual OUString SAL_CALL getImplementationName( ) override; @@ -49,7 +49,7 @@ public: virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override; // XUnoTunnel - static const css::uno::Sequence<sal_Int8>& getUnoTunnelId() throw(); + static const css::uno::Sequence<sal_Int8>& getUnoTunnelId() noexcept; virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override; virtual OUString GetEventName( const OUString& rName, diff --git a/xmloff/source/transform/TransformerBase.cxx b/xmloff/source/transform/TransformerBase.cxx index 15a5859f95ef..c937e00ca2c4 100644 --- a/xmloff/source/transform/TransformerBase.cxx +++ b/xmloff/source/transform/TransformerBase.cxx @@ -175,7 +175,7 @@ XMLTransformerActions *XMLTransformerBase::GetUserDefinedActions( sal_uInt16 ) XMLTransformerBase::XMLTransformerBase( XMLTransformerActionInit const *pInit, ::xmloff::token::XMLTokenEnum const *pTKMapInit ) - throw () : + noexcept : m_pNamespaceMap( new SvXMLNamespaceMap ), m_ElemActions( pInit ), m_TokenMap( pTKMapInit ) @@ -189,7 +189,7 @@ XMLTransformerBase::XMLTransformerBase( XMLTransformerActionInit const *pInit, GetNamespaceMap().Add( GetXMLToken(XML_NP_OOOC), GetXMLToken(XML_N_OOOC), XML_NAMESPACE_OOOC ); } -XMLTransformerBase::~XMLTransformerBase() throw () +XMLTransformerBase::~XMLTransformerBase() noexcept { } diff --git a/xmloff/source/transform/TransformerBase.hxx b/xmloff/source/transform/TransformerBase.hxx index ae360165e403..8fb4e6adfd69 100644 --- a/xmloff/source/transform/TransformerBase.hxx +++ b/xmloff/source/transform/TransformerBase.hxx @@ -77,8 +77,8 @@ protected: public: XMLTransformerBase( XMLTransformerActionInit const *pInit, - ::xmloff::token::XMLTokenEnum const *pTKMapInit ) throw(); - virtual ~XMLTransformerBase() throw() override; + ::xmloff::token::XMLTokenEnum const *pTKMapInit ) noexcept; + virtual ~XMLTransformerBase() noexcept override; // css::xml::sax::XDocumentHandler virtual void SAL_CALL startDocument() override; |