diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 17:54:59 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:03:17 +0100 |
commit | 8955ce4ede374ed2af4477850809d21a2b5e6dd6 (patch) | |
tree | c71999765695c03d4620abe3e3f63994bebb3094 /include | |
parent | de70ad0b0c65f4ae5dbdb156e1b9aa1d22855b2c (diff) |
New loplugin:dynexcspec: Add @throws documentation, oox
Change-Id: I83c6995e4f15d6a042e57bac4d71874124402547
Diffstat (limited to 'include')
-rw-r--r-- | include/oox/core/fastparser.hxx | 28 | ||||
-rw-r--r-- | include/oox/core/filterbase.hxx | 1 | ||||
-rw-r--r-- | include/oox/core/filterdetect.hxx | 1 | ||||
-rw-r--r-- | include/oox/core/recordparser.hxx | 3 | ||||
-rw-r--r-- | include/oox/core/xmlfilterbase.hxx | 1 | ||||
-rw-r--r-- | include/oox/ppt/pptimport.hxx | 2 | ||||
-rw-r--r-- | include/oox/vml/vmlinputstream.hxx | 6 |
7 files changed, 36 insertions, 6 deletions
diff --git a/include/oox/core/fastparser.hxx b/include/oox/core/fastparser.hxx index 4497d8b330bb..69cc111c4b49 100644 --- a/include/oox/core/fastparser.hxx +++ b/include/oox/core/fastparser.hxx @@ -56,35 +56,53 @@ namespace core { class FastParser { public: + /// @throws css::uno::RuntimeException explicit FastParser( const css::uno::Reference< css::uno::XComponentContext >& rxContext ) throw( css::uno::RuntimeException ); virtual ~FastParser(); - /** Registers an OOXML namespace at the parser. */ + /** Registers an OOXML namespace at the parser. + @throws css::lang::IllegalArgumentException + @throws css::uno::RuntimeException + */ void registerNamespace( sal_Int32 nNamespaceId ) throw( css::lang::IllegalArgumentException, css::uno::RuntimeException ); - /** Sets the passed document handler that will receive the SAX parser events. */ + /** Sets the passed document handler that will receive the SAX parser events. + @throws css::uno::RuntimeException + */ void setDocumentHandler( const css::uno::Reference< css::xml::sax::XFastDocumentHandler >& rxDocHandler ) throw( css::uno::RuntimeException ); /** Parses the passed SAX input source. - @param bCloseStream True = closes the stream in the input source after parsing. */ + @param bCloseStream True = closes the stream in the input source after parsing. + @throws css::xml::sax::SAXException + @throws css::io::IOException + @throws css::uno::RuntimeException + */ void parseStream( const css::xml::sax::InputSource& rInputSource, bool bCloseStream = false ) throw( css::xml::sax::SAXException, css::io::IOException, css::uno::RuntimeException, std::exception ); /** Parses the passed input stream. - @param bCloseStream True = closes the passed stream after parsing. */ + @param bCloseStream True = closes the passed stream after parsing. + @throws css::xml::sax::SAXException + @throws css::io::IOException + @throws css::uno::RuntimeException + */ void parseStream( const css::uno::Reference< css::io::XInputStream >& rxInStream, const OUString& rStreamName ) throw( css::xml::sax::SAXException, css::io::IOException, css::uno::RuntimeException, std::exception ); /** Parses a stream from the passed storage with the specified name. - @param bCloseStream True = closes the stream after parsing. */ + @param bCloseStream True = closes the stream after parsing. + @throws css::xml::sax::SAXException + @throws css::io::IOException + @throws css::uno::RuntimeException + */ void parseStream( StorageBase& rStorage, const OUString& rStreamName ) throw( css::xml::sax::SAXException, css::io::IOException, css::uno::RuntimeException, std::exception ); diff --git a/include/oox/core/filterbase.hxx b/include/oox/core/filterbase.hxx index f73c53a7cabb..76652a9e1a15 100644 --- a/include/oox/core/filterbase.hxx +++ b/include/oox/core/filterbase.hxx @@ -95,6 +95,7 @@ typedef ::cppu::WeakImplHelper< class OOX_DLLPUBLIC FilterBase : public FilterBase_BASE, public ::cppu::BaseMutex { public: + /// @throws css::uno::RuntimeException explicit FilterBase( const css::uno::Reference< css::uno::XComponentContext >& rxContext ) throw( css::uno::RuntimeException ); diff --git a/include/oox/core/filterdetect.hxx b/include/oox/core/filterdetect.hxx index 2fdf4d93f4b0..f27e6059478c 100644 --- a/include/oox/core/filterdetect.hxx +++ b/include/oox/core/filterdetect.hxx @@ -98,6 +98,7 @@ private: class OOX_DLLPUBLIC FilterDetect : public ::cppu::WeakImplHelper<css::document::XExtendedFilterDetection, css::lang::XServiceInfo> { public: + /// @throws css::uno::RuntimeException explicit FilterDetect( const css::uno::Reference< css::uno::XComponentContext >& rxContext ) throw( css::uno::RuntimeException ); virtual ~FilterDetect() override; diff --git a/include/oox/core/recordparser.hxx b/include/oox/core/recordparser.hxx index 7a51aad48aac..da90180489fc 100644 --- a/include/oox/core/recordparser.hxx +++ b/include/oox/core/recordparser.hxx @@ -57,6 +57,9 @@ public: void setFragmentHandler( const ::rtl::Reference< FragmentHandler >& rxHandler ); + /// @throws css::xml::sax::SAXException + /// @throws css::io::IOException + /// @throws css::uno::RuntimeException void parseStream( const RecordInputSource& rInputSource ) throw( css::xml::sax::SAXException, css::io::IOException, diff --git a/include/oox/core/xmlfilterbase.hxx b/include/oox/core/xmlfilterbase.hxx index 59043ba6f7ea..c9769d7fadb8 100644 --- a/include/oox/core/xmlfilterbase.hxx +++ b/include/oox/core/xmlfilterbase.hxx @@ -83,6 +83,7 @@ struct XmlFilterBaseImpl; class OOX_DLLPUBLIC XmlFilterBase : public FilterBase { public: + /// @throws css::uno::RuntimeException explicit XmlFilterBase( const css::uno::Reference< css::uno::XComponentContext >& rxContext ) throw( css::uno::RuntimeException ); diff --git a/include/oox/ppt/pptimport.hxx b/include/oox/ppt/pptimport.hxx index 0d37d75deecd..2976fe539a8e 100644 --- a/include/oox/ppt/pptimport.hxx +++ b/include/oox/ppt/pptimport.hxx @@ -54,7 +54,7 @@ namespace oox { namespace ppt { class PowerPointImport : public oox::core::XmlFilterBase { public: - + /// @throws css::uno::RuntimeException PowerPointImport( const css::uno::Reference< css::uno::XComponentContext >& rxContext ) throw( css::uno::RuntimeException ); virtual ~PowerPointImport() override; diff --git a/include/oox/vml/vmlinputstream.hxx b/include/oox/vml/vmlinputstream.hxx index 27e697f005e5..8966a41966df 100644 --- a/include/oox/vml/vmlinputstream.hxx +++ b/include/oox/vml/vmlinputstream.hxx @@ -80,8 +80,14 @@ public: throw (css::io::NotConnectedException, css::io::IOException, css::uno::RuntimeException, std::exception) override; private: + /// @throws css::io::IOException + /// @throws css::uno::RuntimeException void updateBuffer() throw (css::io::IOException, css::uno::RuntimeException); + /// @throws css::io::IOException + /// @throws css::uno::RuntimeException OString readToElementBegin() throw (css::io::IOException, css::uno::RuntimeException); + /// @throws css::io::IOException + /// @throws css::uno::RuntimeException OString readToElementEnd() throw (css::io::IOException, css::uno::RuntimeException); private: |