diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-28 16:50:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-28 17:55:50 +0100 |
commit | 4c15726253e178edbcdccf2c2ecca1e1c232f968 (patch) | |
tree | 635d8b6eaa287dbea10368d8496663dde491aca7 /framework | |
parent | 4d58a80fcab53e11457a47b6f76eb618cb8e835f (diff) |
coverity#1308516 Uncaught exception
Change-Id: If5dcf42448f87888e9f6bab2209bc1f9dd1d525c
Diffstat (limited to 'framework')
-rw-r--r-- | framework/inc/xml/xmlnamespaces.hxx | 2 | ||||
-rw-r--r-- | framework/source/fwe/xml/xmlnamespaces.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/inc/xml/xmlnamespaces.hxx b/framework/inc/xml/xmlnamespaces.hxx index a1081ed7868c..6ce9351b9882 100644 --- a/framework/inc/xml/xmlnamespaces.hxx +++ b/framework/inc/xml/xmlnamespaces.hxx @@ -39,7 +39,7 @@ class FWE_DLLPUBLIC XMLNamespaces throw( ::com::sun::star::xml::sax::SAXException ); OUString applyNSToAttributeName( const OUString& ) const - throw( ::com::sun::star::xml::sax::SAXException ); + throw( ::com::sun::star::xml::sax::SAXException, std::exception ); OUString applyNSToElementName( const OUString& ) const throw( ::com::sun::star::xml::sax::SAXException ); diff --git a/framework/source/fwe/xml/xmlnamespaces.cxx b/framework/source/fwe/xml/xmlnamespaces.cxx index f52536e2d098..f65e66910f65 100644 --- a/framework/source/fwe/xml/xmlnamespaces.cxx +++ b/framework/source/fwe/xml/xmlnamespaces.cxx @@ -93,7 +93,7 @@ void XMLNamespaces::addNamespace( const OUString& aName, const OUString& aValue } } -OUString XMLNamespaces::applyNSToAttributeName( const OUString& aName ) const throw( SAXException ) +OUString XMLNamespaces::applyNSToAttributeName( const OUString& aName ) const throw( SAXException, std::exception ) { // xml draft: there is no default namespace for attributes! |