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 /oox/source | |
parent | de70ad0b0c65f4ae5dbdb156e1b9aa1d22855b2c (diff) |
New loplugin:dynexcspec: Add @throws documentation, oox
Change-Id: I83c6995e4f15d6a042e57bac4d71874124402547
Diffstat (limited to 'oox/source')
-rw-r--r-- | oox/source/core/filterbase.cxx | 2 | ||||
-rw-r--r-- | oox/source/core/recordparser.cxx | 1 | ||||
-rw-r--r-- | oox/source/core/xmlfilterbase.cxx | 1 | ||||
-rw-r--r-- | oox/source/docprop/ooxmldocpropimport.cxx | 2 | ||||
-rw-r--r-- | oox/source/helper/textinputstream.cxx | 1 | ||||
-rw-r--r-- | oox/source/ole/olestorage.cxx | 2 | ||||
-rw-r--r-- | oox/source/shape/ShapeFilterBase.hxx | 1 |
7 files changed, 10 insertions, 0 deletions
diff --git a/oox/source/core/filterbase.cxx b/oox/source/core/filterbase.cxx index d3323e59f74b..adaadfc09895 100644 --- a/oox/source/core/filterbase.cxx +++ b/oox/source/core/filterbase.cxx @@ -151,8 +151,10 @@ struct FilterBaseImpl bool mbExportVBA; + /// @throws RuntimeException explicit FilterBaseImpl( const Reference< XComponentContext >& rxContext ) throw( RuntimeException ); + /// @throws IllegalArgumentException void setDocumentModel( const Reference< XComponent >& rxComponent ) throw( IllegalArgumentException ); void initializeFilter(); diff --git a/oox/source/core/recordparser.cxx b/oox/source/core/recordparser.cxx index b7f376743f44..988d8cd57f8b 100644 --- a/oox/source/core/recordparser.cxx +++ b/oox/source/core/recordparser.cxx @@ -42,6 +42,7 @@ public: inline explicit Locator( RecordParser* pParser ) : mpParser( pParser ) {} void dispose(); + /// @throws css::uno::RuntimeException void checkDispose() throw( RuntimeException ); // com.sun.star.sax.XLocator interface diff --git a/oox/source/core/xmlfilterbase.cxx b/oox/source/core/xmlfilterbase.cxx index 569110c4dd6a..48da8c7cbe71 100644 --- a/oox/source/core/xmlfilterbase.cxx +++ b/oox/source/core/xmlfilterbase.cxx @@ -181,6 +181,7 @@ struct XmlFilterBaseImpl TextFieldStack maTextFieldStack; const NamespaceMap& mrNamespaceMap; + /// @throws RuntimeException explicit XmlFilterBaseImpl( const Reference< XComponentContext >& rxContext ) throw( RuntimeException ); ~XmlFilterBaseImpl(); }; diff --git a/oox/source/docprop/ooxmldocpropimport.cxx b/oox/source/docprop/ooxmldocpropimport.cxx index 5af495f71678..1aa4c4a09ce8 100644 --- a/oox/source/docprop/ooxmldocpropimport.cxx +++ b/oox/source/docprop/ooxmldocpropimport.cxx @@ -62,6 +62,8 @@ Reference< XInterface > SAL_CALL DocumentPropertiesImport_createInstance( const namespace { +/// @throws RuntimeException +/// @throws css::io::IOException Sequence< InputSource > lclGetRelatedStreams( const Reference< XStorage >& rxStorage, const OUString& rStreamType ) throw (RuntimeException, css::io::IOException) { Reference< XRelationshipAccess > xRelation( rxStorage, UNO_QUERY_THROW ); diff --git a/oox/source/helper/textinputstream.cxx b/oox/source/helper/textinputstream.cxx index 1c4f4c13175f..70b657f59fdd 100644 --- a/oox/source/helper/textinputstream.cxx +++ b/oox/source/helper/textinputstream.cxx @@ -55,6 +55,7 @@ public: throw (NotConnectedException, IOException, RuntimeException, std::exception) override; private: + /// @throws NotConnectedException void ensureConnected() const throw (NotConnectedException); private: diff --git a/oox/source/ole/olestorage.cxx b/oox/source/ole/olestorage.cxx index ee8dc65f32d2..4e20a9dda1c7 100644 --- a/oox/source/ole/olestorage.cxx +++ b/oox/source/ole/olestorage.cxx @@ -68,7 +68,9 @@ public: virtual void SAL_CALL closeOutput() throw( NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception ) override; private: + /// @throws IOException void ensureSeekable() const throw( IOException ); + /// @throws NotConnectedException void ensureConnected() const throw( NotConnectedException ); private: diff --git a/oox/source/shape/ShapeFilterBase.hxx b/oox/source/shape/ShapeFilterBase.hxx index 94d760992661..5bb339b6e41c 100644 --- a/oox/source/shape/ShapeFilterBase.hxx +++ b/oox/source/shape/ShapeFilterBase.hxx @@ -35,6 +35,7 @@ class ShapeFilterBase : public core::XmlFilterBase public: typedef std::shared_ptr<ShapeFilterBase> Pointer_t; + /// @throws css::uno::RuntimeException explicit ShapeFilterBase( const css::uno::Reference< css::uno::XComponentContext >& rxContext ) throw( css::uno::RuntimeException ); |