summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 17:47:22 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:09 +0100
commit6cf68af560b45b753836c4d3dc8b00aef1a34123 (patch)
tree7dc2fb4adc781e1662ba7eb368d985c7ed323066 /writerfilter
parent4f43e2b1e00001666a3ae0a2706e9564e14c30c4 (diff)
New loplugin:dynexcspec: Add @throws documentation, writerfilter
Change-Id: I7e84da00d943d2849e6d94011f349d064fb658cb
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/dmapper/DomainMapper_Impl.hxx1
-rw-r--r--writerfilter/source/dmapper/PropertyMap.hxx5
-rw-r--r--writerfilter/source/filter/WriterFilterDetection.cxx1
-rw-r--r--writerfilter/source/ooxml/OOXMLFastContextHandler.hxx10
4 files changed, 17 insertions, 0 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.hxx b/writerfilter/source/dmapper/DomainMapper_Impl.hxx
index d3cc079df9db..3185840dcb51 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.hxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.hxx
@@ -458,6 +458,7 @@ private:
void GetCurrentLocale(css::lang::Locale& rLocale);
void SetNumberFormat(const OUString& rCommand, css::uno::Reference<css::beans::XPropertySet> const& xPropertySet, bool bDetectFormat = false);
+ /// @throws css::uno::Exception
css::uno::Reference<css::beans::XPropertySet> FindOrCreateFieldMaster(const sal_Char* pFieldMasterService, const OUString& rFieldMasterName) throw(css::uno::Exception);
css::uno::Reference<css::beans::XPropertySet> const & GetDocumentSettings();
diff --git a/writerfilter/source/dmapper/PropertyMap.hxx b/writerfilter/source/dmapper/PropertyMap.hxx
index 9fe090273150..6ab6b4b8285c 100644
--- a/writerfilter/source/dmapper/PropertyMap.hxx
+++ b/writerfilter/source/dmapper/PropertyMap.hxx
@@ -289,6 +289,11 @@ public:
bool bFirst);
OUString const & GetPageStyleName( bool bFirstPage = false ) { return bFirstPage ? m_sFirstPageStyleName : m_sFollowPageStyleName; }
+ /// @throws css::beans::UnknownPropertyException
+ /// @throws css::beans::PropertyVetoException
+ /// @throws css::lang::IllegalArgumentException
+ /// @throws css::lang::WrappedTargetException
+ /// @throws css::uno::RuntimeException
void InheritOrFinalizePageStyles( DomainMapper_Impl& rDM_Impl )
throw ( css::beans::UnknownPropertyException,
css::beans::PropertyVetoException,
diff --git a/writerfilter/source/filter/WriterFilterDetection.cxx b/writerfilter/source/filter/WriterFilterDetection.cxx
index dccd82302d3c..3202721ded5a 100644
--- a/writerfilter/source/filter/WriterFilterDetection.cxx
+++ b/writerfilter/source/filter/WriterFilterDetection.cxx
@@ -45,6 +45,7 @@ public:
uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw (uno::RuntimeException, std::exception) override;
};
+/// @throws uno::RuntimeException
uno::Sequence<OUString> SAL_CALL WriterFilterDetection_getSupportedServiceNames() throw (uno::RuntimeException);
WriterFilterDetection::WriterFilterDetection() = default;
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
index d0df17fcb30d..f3b70b1fbe11 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
@@ -96,6 +96,8 @@ public:
virtual ResourceEnum_t getResource() const { return STREAM; }
+ /// @throws css::uno::RuntimeException
+ /// @throws css::xml::sax::SAXException
virtual void attributes(const css::uno::Reference< css::xml::sax::XFastAttributeList > & Attribs) throw (css::uno::RuntimeException, css::xml::sax::SAXException);
virtual void newProperty(Id aId, const OOXMLValue::Pointer_t& pVal);
@@ -207,15 +209,23 @@ protected:
// the table depth of this context
unsigned int mnTableDepth;
+ /// @throws css::uno::RuntimeException
+ /// @throws css::xml::sax::SAXException
virtual void lcl_startFastElement(Token_t Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > & Attribs)
throw (css::uno::RuntimeException, css::xml::sax::SAXException, std::exception);
+ /// @throws css::uno::RuntimeException
+ /// @throws css::xml::sax::SAXException
virtual void lcl_endFastElement(Token_t Element)
throw (css::uno::RuntimeException, css::xml::sax::SAXException, std::exception);
+ /// @throws css::uno::RuntimeException
+ /// @throws css::xml::sax::SAXException
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > lcl_createFastChildContext(Token_t Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > & Attribs)
throw (css::uno::RuntimeException, css::xml::sax::SAXException, std::exception);
+ /// @throws css::uno::RuntimeException
+ /// @throws css::xml::sax::SAXException
virtual void lcl_characters(const OUString & aChars)
throw (css::uno::RuntimeException, css::xml::sax::SAXException, std::exception);