Kaydet (Commit) 3e9a13f1 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1308570 Uncaught exception

Change-Id: I9009a96e09943b5339c6ef6995d9a28c3e4b596c
üst fab69b02
...@@ -41,7 +41,7 @@ class FWE_DLLPUBLIC XMLNamespaces ...@@ -41,7 +41,7 @@ class FWE_DLLPUBLIC XMLNamespaces
OUString applyNSToAttributeName( const OUString& ) const OUString applyNSToAttributeName( const OUString& ) const
throw( ::com::sun::star::xml::sax::SAXException, std::exception ); throw( ::com::sun::star::xml::sax::SAXException, std::exception );
OUString applyNSToElementName( const OUString& ) const OUString applyNSToElementName( const OUString& ) const
throw( ::com::sun::star::xml::sax::SAXException ); throw( ::com::sun::star::xml::sax::SAXException, std::exception );
private: private:
typedef ::std::map< OUString, OUString > NamespaceMap; typedef ::std::map< OUString, OUString > NamespaceMap;
......
...@@ -118,7 +118,7 @@ OUString XMLNamespaces::applyNSToAttributeName( const OUString& aName ) const th ...@@ -118,7 +118,7 @@ OUString XMLNamespaces::applyNSToAttributeName( const OUString& aName ) const th
return aName; 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 // xml draft: element names can have a default namespace
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment