summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-12-22 10:50:40 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-12-25 21:55:39 +0100
commit76e950bfafd8b44ee47d7a9573df1571652c52e1 (patch)
tree35c6ea2a240ba08ccf2c4faaaaed18c088f75763 /sd/source/ui/inc
parent93c96ec5018f723748557975435eb6c27135b60c (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 'sd/source/ui/inc')
-rw-r--r--sd/source/ui/inc/SdUnoDrawView.hxx2
-rw-r--r--sd/source/ui/inc/unomodel.hxx4
-rw-r--r--sd/source/ui/inc/unopage.hxx8
-rw-r--r--sd/source/ui/inc/unosrch.hxx2
4 files changed, 8 insertions, 8 deletions
diff --git a/sd/source/ui/inc/SdUnoDrawView.hxx b/sd/source/ui/inc/SdUnoDrawView.hxx
index eadc506bedd1..9dbd1a9a3fb7 100644
--- a/sd/source/ui/inc/SdUnoDrawView.hxx
+++ b/sd/source/ui/inc/SdUnoDrawView.hxx
@@ -85,7 +85,7 @@ public:
The returned value may be empty when the internal state of this
view is not valid (like during destruction.)
*/
- css::uno::Reference< css::drawing::XLayer> getActiveLayer() throw ();
+ css::uno::Reference< css::drawing::XLayer> getActiveLayer();
private:
bool getMasterPageMode() const throw();
diff --git a/sd/source/ui/inc/unomodel.hxx b/sd/source/ui/inc/unomodel.hxx
index 404c34c49b72..03924470f724 100644
--- a/sd/source/ui/inc/unomodel.hxx
+++ b/sd/source/ui/inc/unomodel.hxx
@@ -129,8 +129,8 @@ private:
sd::DrawViewShell* GetViewShell();
public:
- SdXImpressDocument( ::sd::DrawDocShell* pShell, bool bClipBoard ) throw();
- SdXImpressDocument( SdDrawDocument* pDoc, bool bClipBoard ) throw();
+ SdXImpressDocument(::sd::DrawDocShell* pShell, bool bClipBoard);
+ SdXImpressDocument(SdDrawDocument* pDoc, bool bClipBoard);
virtual ~SdXImpressDocument() throw() override;
static rtl::Reference< SdXImpressDocument > GetModel( SdDrawDocument const * pDoc );
diff --git a/sd/source/ui/inc/unopage.hxx b/sd/source/ui/inc/unopage.hxx
index 3838b0f0de52..eb49638d7ec1 100644
--- a/sd/source/ui/inc/unopage.hxx
+++ b/sd/source/ui/inc/unopage.hxx
@@ -98,7 +98,7 @@ protected:
void throwIfDisposed() const;
public:
- SdGenericDrawPage( SdXImpressDocument* pModel, SdPage* pInPage, const SvxItemPropertySet* pSet ) throw();
+ SdGenericDrawPage(SdXImpressDocument* pModel, SdPage* pInPage, const SvxItemPropertySet* pSet);
virtual ~SdGenericDrawPage() throw() override;
// intern
@@ -172,9 +172,9 @@ private:
protected:
virtual void setBackground( const css::uno::Any& rValue ) override;
- virtual void getBackground( css::uno::Any& rValue ) throw() override;
+ virtual void getBackground( css::uno::Any& rValue ) override;
public:
- SdDrawPage( SdXImpressDocument* pModel, SdPage* pInPage ) throw();
+ SdDrawPage(SdXImpressDocument* pModel, SdPage* pInPage);
virtual ~SdDrawPage() throw() override;
UNO3_GETIMPLEMENTATION_DECL( SdDrawPage )
@@ -235,7 +235,7 @@ protected:
virtual void getBackground( css::uno::Any& rValue ) override;
public:
- SdMasterPage( SdXImpressDocument* pModel, SdPage* pInPage ) throw();
+ SdMasterPage(SdXImpressDocument* pModel, SdPage* pInPage);
virtual ~SdMasterPage() throw() override;
UNO3_GETIMPLEMENTATION_DECL(SdMasterPage)
diff --git a/sd/source/ui/inc/unosrch.hxx b/sd/source/ui/inc/unosrch.hxx
index 4945366e01a8..48c00e0b01cd 100644
--- a/sd/source/ui/inc/unosrch.hxx
+++ b/sd/source/ui/inc/unosrch.hxx
@@ -45,7 +45,7 @@ class SdUnoSearchReplaceShape : public css::util::XReplaceable
protected:
css::drawing::XDrawPage* mpPage;
- css::uno::Reference< css::text::XTextRange > Search( const css::uno::Reference< css::text::XTextRange >& xText, SdUnoSearchReplaceDescriptor* pDescr ) throw();
+ css::uno::Reference< css::text::XTextRange > Search( const css::uno::Reference< css::text::XTextRange >& xText, SdUnoSearchReplaceDescriptor* pDescr );
bool Search( const OUString& rText, sal_Int32& nStartPos, sal_Int32& nEndPos, SdUnoSearchReplaceDescriptor* pDescr ) throw();
static ESelection GetSelection( const css::uno::Reference< css::text::XTextRange >& xTextRange ) throw();
static css::uno::Reference< css::drawing::XShape > GetShape( const css::uno::Reference< css::text::XTextRange >& xTextRange ) throw();