summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 17:53:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:15 +0100
commitf96428fc5f9c19b9fe1d6eb32ddac8d84f7372ef (patch)
treed2a92a9b0edafef68d01c4f71c0ba09355fe5f52 /sd/inc
parentb36f675c5e13decbd3204c0e5e893a41e5653a72 (diff)
New loplugin:dynexcspec: Add @throws documentation, sd
Change-Id: I01e47c52eb4313cf43561d7a57b71656fb66b2ef
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/CustomAnimationEffect.hxx1
-rw-r--r--sd/inc/sdpage.hxx10
-rw-r--r--sd/inc/stlfamily.hxx4
-rw-r--r--sd/inc/stlpool.hxx1
-rw-r--r--sd/inc/stlsheet.hxx2
-rw-r--r--sd/inc/textapi.hxx1
6 files changed, 17 insertions, 2 deletions
diff --git a/sd/inc/CustomAnimationEffect.hxx b/sd/inc/CustomAnimationEffect.hxx
index f9391a4b50cb..4ab84d7eb9eb 100644
--- a/sd/inc/CustomAnimationEffect.hxx
+++ b/sd/inc/CustomAnimationEffect.hxx
@@ -158,6 +158,7 @@ public:
SAL_DLLPRIVATE EffectSequenceHelper* getEffectSequence() const { return mpEffectSequence; }
// helper
+ /// @throws css::uno::Exception
SAL_DLLPRIVATE css::uno::Reference< css::animations::XAnimationNode > createAfterEffectNode() const throw (css::uno::Exception);
SAL_DLLPRIVATE css::uno::Reference< css::drawing::XShape > getTargetShape() const;
diff --git a/sd/inc/sdpage.hxx b/sd/inc/sdpage.hxx
index dc23fed641da..38eb3bf87f74 100644
--- a/sd/inc/sdpage.hxx
+++ b/sd/inc/sdpage.hxx
@@ -291,10 +291,16 @@ public:
bool setAlienAttributes( const css::uno::Any& rAttributes );
void getAlienAttributes( css::uno::Any& rAttributes );
- /** @return the main animation node */
+ /** @return the main animation node
+
+ @throws css::uno::RuntimeException
+ */
css::uno::Reference< css::animations::XAnimationNode > const & getAnimationNode() throw (css::uno::RuntimeException);
- /** sets the main animation node */
+ /** sets the main animation node
+
+ @throws css::uno::RuntimeException
+ */
void setAnimationNode( css::uno::Reference< css::animations::XAnimationNode >& xNode ) throw (css::uno::RuntimeException);
/// @return a helper class to manipulate effects inside the main sequence
diff --git a/sd/inc/stlfamily.hxx b/sd/inc/stlfamily.hxx
index a58106192924..d3b7e1c7285f 100644
--- a/sd/inc/stlfamily.hxx
+++ b/sd/inc/stlfamily.hxx
@@ -102,8 +102,12 @@ public:
virtual void SAL_CALL removeVetoableChangeListener(const OUString& PropertyName,const css::uno::Reference<css::beans::XVetoableChangeListener>&aListener ) throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
private:
+ /// @throws css::uno::RuntimeException
void throwIfDisposed() const throw(css::uno::RuntimeException);
+ /// @throws css::lang::IllegalArgumentException
SdStyleSheet* GetValidNewSheet( const css::uno::Any& rElement ) throw(css::lang::IllegalArgumentException);
+ /// @throws css::container::NoSuchElementException
+ /// @throws css::lang::WrappedTargetException
SdStyleSheet* GetSheetByName( const OUString& rName ) throw(css::container::NoSuchElementException, css::lang::WrappedTargetException );
SfxStyleFamily mnFamily;
diff --git a/sd/inc/stlpool.hxx b/sd/inc/stlpool.hxx
index b016db6c489c..7c470748aeca 100644
--- a/sd/inc/stlpool.hxx
+++ b/sd/inc/stlpool.hxx
@@ -95,6 +95,7 @@ public:
static void setDefaultOutlineNumberFormatBulletAndIndent(sal_uInt16 i, SvxNumberFormat &rNumberFormat);
public:
+ /// @throws css::uno::RuntimeException
void throwIfDisposed() throw(css::uno::RuntimeException);
// XServiceInfo
diff --git a/sd/inc/stlsheet.hxx b/sd/inc/stlsheet.hxx
index a57f3fe9c187..4cf99f3dc4cf 100644
--- a/sd/inc/stlsheet.hxx
+++ b/sd/inc/stlsheet.hxx
@@ -127,6 +127,7 @@ public:
void notifyModifyListener();
protected:
+ /// @throws css::uno::RuntimeException
static const SfxItemPropertySimpleEntry* getPropertyMapEntry( const OUString& rPropertyName ) throw (css::uno::RuntimeException);
virtual void Load (SvStream& rIn, sal_uInt16 nVersion) override;
@@ -134,6 +135,7 @@ protected:
virtual void Notify(SfxBroadcaster& rBC, const SfxHint& rHint) override;
virtual ~SdStyleSheet() override;
+ /// @throws css::uno::RuntimeException
void throwIfDisposed() throw (css::uno::RuntimeException);
void disposing();
diff --git a/sd/inc/textapi.hxx b/sd/inc/textapi.hxx
index d19d35547b11..92df56ffa21c 100644
--- a/sd/inc/textapi.hxx
+++ b/sd/inc/textapi.hxx
@@ -42,6 +42,7 @@ public:
virtual ~TextApiObject() throw() override;
+ /// @throws css::uno::RuntimeException
void SAL_CALL dispose() throw(css::uno::RuntimeException);
OutlinerParaObject* CreateText();