diff options
Diffstat (limited to 'sax')
-rw-r--r-- | sax/source/expatwrap/saxwriter.cxx | 4 | ||||
-rw-r--r-- | sax/test/saxdemo.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx index c4338590a0e4..d871cce05224 100644 --- a/sax/source/expatwrap/saxwriter.cxx +++ b/sax/source/expatwrap/saxwriter.cxx @@ -939,7 +939,7 @@ public: // XDocumentHandler public: // XExtendedDocumentHandler virtual void SAL_CALL startCDATA(void) throw(SAXException, RuntimeException); - virtual void SAL_CALL endCDATA(void) throw(RuntimeException); + virtual void SAL_CALL endCDATA(void) throw(SAXException,RuntimeException); virtual void SAL_CALL comment(const OUString& sComment) throw(SAXException, RuntimeException); virtual void SAL_CALL unknown(const OUString& sString) @@ -1283,7 +1283,7 @@ void SAXWriter::startCDATA(void) throw(SAXException, RuntimeException) m_bIsCDATA = sal_True; } -void SAXWriter::endCDATA(void) throw (RuntimeException) +void SAXWriter::endCDATA(void) throw (SAXException,RuntimeException) { if( ! m_bDocStarted || ! m_bIsCDATA) { diff --git a/sax/test/saxdemo.cxx b/sax/test/saxdemo.cxx index 3910bbf56dea..4d7be76653a7 100644 --- a/sax/test/saxdemo.cxx +++ b/sax/test/saxdemo.cxx @@ -225,7 +225,7 @@ public: // ExtendedDocumentHandler virtual void SAL_CALL startCDATA(void) throw (SAXException,RuntimeException) { } - virtual void SAL_CALL endCDATA(void) throw (RuntimeException) + virtual void SAL_CALL endCDATA(void) throw (SAXException,RuntimeException) { } virtual void SAL_CALL comment(const OUString& /* sComment */) throw (SAXException,RuntimeException) |