summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-21 14:35:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-21 15:30:26 +0000
commit09f9a79b112aae36d54520568962d84a931f6491 (patch)
tree1daf69707fdaa18f6c8167e14c488583bde4d7e7 /offapi
parentc1587b74c15d35fd85069d3a0f1ebe4770549021 (diff)
[API CHANGE] fix endCDATA to allow throwing css::xml::sax::SAXException
coverity#1158397 Uncaught exception Change-Id: Iabf0b1f0500cb4218d8cb3aff372777471e8f287
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/xml/sax/XExtendedDocumentHandler.idl3
-rw-r--r--offapi/type_reference/offapi.idl2
2 files changed, 3 insertions, 2 deletions
diff --git a/offapi/com/sun/star/xml/sax/XExtendedDocumentHandler.idl b/offapi/com/sun/star/xml/sax/XExtendedDocumentHandler.idl
index 2529f30b165e..23dc57cfbac3 100644
--- a/offapi/com/sun/star/xml/sax/XExtendedDocumentHandler.idl
+++ b/offapi/com/sun/star/xml/sax/XExtendedDocumentHandler.idl
@@ -49,7 +49,8 @@ published interface XExtendedDocumentHandler: com::sun::star::xml::sax::XDocumen
<p>Note that <code>startCDATA/endCDATA</code> MUST NOT enclose any
<code>startElement/endElement</code>-call!</p>
*/
- void endCDATA();
+ void endCDATA()
+ raises( com::sun::star::xml::sax::SAXException );
/** receives notification about a comment in the XML-source.
*/
diff --git a/offapi/type_reference/offapi.idl b/offapi/type_reference/offapi.idl
index a474f590ec15..b2042d612124 100644
--- a/offapi/type_reference/offapi.idl
+++ b/offapi/type_reference/offapi.idl
@@ -17577,7 +17577,7 @@ module com {
published interface XExtendedDocumentHandler {
interface ::com::sun::star::xml::sax::XDocumentHandler;
void startCDATA() raises (::com::sun::star::xml::sax::SAXException);
- void endCDATA();
+ void endCDATA() raises (::com::sun::star::xml::sax::SAXException);
void comment([in] string sComment) raises (::com::sun::star::xml::sax::SAXException);
void allowLineBreak() raises (::com::sun::star::xml::sax::SAXException);
void unknown([in] string sString) raises (::com::sun::star::xml::sax::SAXException);