diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-12-22 10:50:40 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-12-25 21:55:39 +0100 |
commit | 76e950bfafd8b44ee47d7a9573df1571652c52e1 (patch) | |
tree | 35c6ea2a240ba08ccf2c4faaaaed18c088f75763 /include/editeng | |
parent | 93c96ec5018f723748557975435eb6c27135b60c (diff) |
various coverity exception warnings
Change-Id: I7b3588ad42e17f2f363b6a247e318f23c95e578e
Reviewed-on: https://gerrit.libreoffice.org/46961
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/unonrule.hxx | 6 | ||||
-rw-r--r-- | include/editeng/unotext.hxx | 16 |
2 files changed, 11 insertions, 11 deletions
diff --git a/include/editeng/unonrule.hxx b/include/editeng/unonrule.hxx index 307c56deb5d0..bc750254ae67 100644 --- a/include/editeng/unonrule.hxx +++ b/include/editeng/unonrule.hxx @@ -31,8 +31,8 @@ #include <comphelper/servicehelper.hxx> #include <com/sun/star/beans/PropertyValue.hpp> -EDITENG_DLLPUBLIC css::uno::Reference< css::container::XIndexReplace > SvxCreateNumRule( const SvxNumRule* pRule ) throw(); -EDITENG_DLLPUBLIC css::uno::Reference< css::container::XIndexReplace > SvxCreateNumRule() throw(); +EDITENG_DLLPUBLIC css::uno::Reference< css::container::XIndexReplace > SvxCreateNumRule(const SvxNumRule* pRule); +EDITENG_DLLPUBLIC css::uno::Reference< css::container::XIndexReplace > SvxCreateNumRule(); /// @throws css::lang::IllegalArgumentException const SvxNumRule& SvxGetNumRule( css::uno::Reference< css::container::XIndexReplace > const & xRule ); EDITENG_DLLPUBLIC css::uno::Reference< css::ucb::XAnyCompare > SvxCreateNumRuleCompare() throw(); @@ -43,7 +43,7 @@ class SvxUnoNumberingRules : public ::cppu::WeakAggImplHelper5< css::container:: private: SvxNumRule maRule; public: - SvxUnoNumberingRules( const SvxNumRule& rRule ) throw(); + SvxUnoNumberingRules(const SvxNumRule& rRule); virtual ~SvxUnoNumberingRules() throw() override; UNO3_GETIMPLEMENTATION_DECL( SvxUnoNumberingRules ) diff --git a/include/editeng/unotext.hxx b/include/editeng/unotext.hxx index db20ac34c695..73e2afdf366d 100644 --- a/include/editeng/unotext.hxx +++ b/include/editeng/unotext.hxx @@ -302,9 +302,9 @@ protected: /// @throws css::lang::IllegalArgumentException void setPropertyValue( const SfxItemPropertySimpleEntry* pMap, const css::uno::Any& rValue, const ESelection& rSelection, const SfxItemSet& rOldSet, SfxItemSet& rNewSet ); - SvxUnoTextRangeBase( const SvxItemPropertySet* _pSet ) throw(); - SvxUnoTextRangeBase( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet ) throw(); - SvxUnoTextRangeBase( const SvxUnoTextRangeBase& rRange ) throw(); + SvxUnoTextRangeBase(const SvxItemPropertySet* _pSet); + SvxUnoTextRangeBase(const SvxEditSource* pSource, const SvxItemPropertySet* _pSet); + SvxUnoTextRangeBase(const SvxUnoTextRangeBase& rRange); virtual ~SvxUnoTextRangeBase() throw(); public: @@ -388,7 +388,7 @@ private: bool mbPortion; public: - SvxUnoTextRange( const SvxUnoTextBase& rParent, bool bPortion = false ) throw(); + SvxUnoTextRange(const SvxUnoTextBase& rParent, bool bPortion = false); virtual ~SvxUnoTextRange() throw() override; // css::uno::XInterface @@ -418,9 +418,9 @@ class EDITENG_DLLPUBLIC SvxUnoTextBase : public SvxUnoTextRangeBase, protected: css::uno::Reference< css::text::XText > xParentText; - SvxUnoTextBase( const SvxItemPropertySet* _pSet ) throw(); - SvxUnoTextBase( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, css::uno::Reference < css::text::XText > const & xParent ) throw(); - SvxUnoTextBase( const SvxUnoTextBase& rText ) throw(); + SvxUnoTextBase(const SvxItemPropertySet* _pSet); + SvxUnoTextBase(const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, css::uno::Reference < css::text::XText > const & xParent); + SvxUnoTextBase(const SvxUnoTextBase& rText); virtual ~SvxUnoTextBase() throw() override; public: @@ -613,7 +613,7 @@ private: const ESelection mnSel; public: - SvxUnoTextRangeEnumeration( const SvxUnoTextBase& rText, sal_Int32 nPara, const ESelection& rSel ) throw(); + SvxUnoTextRangeEnumeration(const SvxUnoTextBase& rText, sal_Int32 nPara, const ESelection& rSel); virtual ~SvxUnoTextRangeEnumeration() throw() override; // css::container::XEnumeration |