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

coverity#1079007 Uncaught exception

Change-Id: Ic4b1805809aa0a2a78007d5808fd8ae6097b080f
üst 02386ef8
...@@ -197,8 +197,10 @@ public: ...@@ -197,8 +197,10 @@ public:
// ::com::sun::star::xml::sax::XDocumentHandler // ::com::sun::star::xml::sax::XDocumentHandler
virtual void SAL_CALL startDocument(void) virtual void SAL_CALL startDocument(void)
throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException ); throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException );
virtual void SAL_CALL endDocument(void) virtual void SAL_CALL endDocument()
throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException ); throw(::com::sun::star::xml::sax::SAXException,
::com::sun::star::uno::RuntimeException,
std::exception);
virtual void SAL_CALL startElement(const OUString& aName, virtual void SAL_CALL startElement(const OUString& aName,
const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttribs) const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttribs)
throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException ); throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException );
......
...@@ -3177,8 +3177,10 @@ void ScXMLImport::SetSheetNamedRanges() ...@@ -3177,8 +3177,10 @@ void ScXMLImport::SetSheetNamedRanges()
} }
} }
void SAL_CALL ScXMLImport::endDocument(void) void SAL_CALL ScXMLImport::endDocument()
throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException ) throw(::com::sun::star::xml::sax::SAXException,
::com::sun::star::uno::RuntimeException,
std::exception)
{ {
ScXMLImport::MutexGuard aGuard(*this); ScXMLImport::MutexGuard aGuard(*this);
if (getImportFlags() & IMPORT_CONTENT) if (getImportFlags() & IMPORT_CONTENT)
......
...@@ -1178,8 +1178,10 @@ public: ...@@ -1178,8 +1178,10 @@ public:
virtual void SAL_CALL startDocument(void) virtual void SAL_CALL startDocument(void)
throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException ); throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException );
virtual void SAL_CALL endDocument(void) virtual void SAL_CALL endDocument()
throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException ); throw(::com::sun::star::xml::sax::SAXException,
::com::sun::star::uno::RuntimeException,
std::exception);
virtual void DisposingModel(); virtual void DisposingModel();
......
...@@ -502,8 +502,10 @@ void SAL_CALL SvXMLImport::startDocument( void ) ...@@ -502,8 +502,10 @@ void SAL_CALL SvXMLImport::startDocument( void )
} }
} }
void SAL_CALL SvXMLImport::endDocument( void ) void SAL_CALL SvXMLImport::endDocument()
throw( xml::sax::SAXException, uno::RuntimeException) throw(xml::sax::SAXException,
uno::RuntimeException,
std::exception)
{ {
SAL_INFO( "xmloff.core", "} SvXMLImport::startDocument" ); SAL_INFO( "xmloff.core", "} SvXMLImport::startDocument" );
// #i9518# All the stuff that accesses the document has to be done here, not in the dtor, // #i9518# All the stuff that accesses the document has to be done here, not in the dtor,
......
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