From 76e950bfafd8b44ee47d7a9573df1571652c52e1 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 22 Dec 2017 10:50:40 +0000 Subject: various coverity exception warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I7b3588ad42e17f2f363b6a247e318f23c95e578e Reviewed-on: https://gerrit.libreoffice.org/46961 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- include/editeng/unotext.hxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'include/editeng/unotext.hxx') 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 -- cgit