summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-29 09:10:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-29 09:43:32 +0100
commit3e9a13f16cf439876775ed5009690862a8d276d1 (patch)
tree3e52ce0db55dd5ea244a7ea33b477c04b15d8f14 /framework
parentfab69b025b7011728fe105215ab790811db61ca1 (diff)
coverity#1308570 Uncaught exception
Change-Id: I9009a96e09943b5339c6ef6995d9a28c3e4b596c
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/xml/xmlnamespaces.hxx2
-rw-r--r--framework/source/fwe/xml/xmlnamespaces.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/inc/xml/xmlnamespaces.hxx b/framework/inc/xml/xmlnamespaces.hxx
index 6ce9351b9882..e56b11a747ae 100644
--- a/framework/inc/xml/xmlnamespaces.hxx
+++ b/framework/inc/xml/xmlnamespaces.hxx
@@ -41,7 +41,7 @@ class FWE_DLLPUBLIC XMLNamespaces
OUString applyNSToAttributeName( const OUString& ) const
throw( ::com::sun::star::xml::sax::SAXException, std::exception );
OUString applyNSToElementName( const OUString& ) const
- throw( ::com::sun::star::xml::sax::SAXException );
+ throw( ::com::sun::star::xml::sax::SAXException, std::exception );
private:
typedef ::std::map< OUString, OUString > NamespaceMap;
diff --git a/framework/source/fwe/xml/xmlnamespaces.cxx b/framework/source/fwe/xml/xmlnamespaces.cxx
index f65e66910f65..a208e440a3b4 100644
--- a/framework/source/fwe/xml/xmlnamespaces.cxx
+++ b/framework/source/fwe/xml/xmlnamespaces.cxx
@@ -118,7 +118,7 @@ OUString XMLNamespaces::applyNSToAttributeName( const OUString& aName ) const th
return aName;
}
-OUString XMLNamespaces::applyNSToElementName( const OUString& aName ) const throw( SAXException )
+OUString XMLNamespaces::applyNSToElementName( const OUString& aName ) const throw( SAXException, std::exception )
{
// xml draft: element names can have a default namespace