summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-20 14:38:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-20 19:16:57 +0200
commitc9a64e41d2819e2ac474c9dc302972334ca86e03 (patch)
treeb588b0a3042aa843a880d6f613d23b856a4fb4a0
parent51a596866d31544c75ca0f7314c4ffc8258c32d8 (diff)
cid#1399336 Uncaught exception
Change-Id: Ia2b0fee5be67009731af8cc79088020e770dddbf Reviewed-on: https://gerrit.libreoffice.org/76005 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sc/source/ui/inc/IAnyRefDialog.hxx2
-rw-r--r--sc/source/ui/inc/anyrefdg.hxx2
-rw-r--r--sc/source/ui/miscdlgs/anyrefdg.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/inc/IAnyRefDialog.hxx b/sc/source/ui/inc/IAnyRefDialog.hxx
index 0e4f81f41572..a9c876f15f0d 100644
--- a/sc/source/ui/inc/IAnyRefDialog.hxx
+++ b/sc/source/ui/inc/IAnyRefDialog.hxx
@@ -32,7 +32,7 @@ namespace formula
class SAL_NO_VTABLE IAnyRefDialog : public formula::IControlReferenceHandler
{
public:
- virtual ~IAnyRefDialog(){}
+ virtual ~IAnyRefDialog() COVERITY_NOEXCEPT_FALSE {}
virtual void SetReference( const ScRange& rRef, ScDocument* pDoc ) = 0;
virtual void RefInputStart( formula::RefEdit* pEdit, formula::RefButton* pButton = nullptr ) = 0;
diff --git a/sc/source/ui/inc/anyrefdg.hxx b/sc/source/ui/inc/anyrefdg.hxx
index cf5e7390cd6c..1417662956be 100644
--- a/sc/source/ui/inc/anyrefdg.hxx
+++ b/sc/source/ui/inc/anyrefdg.hxx
@@ -106,7 +106,7 @@ protected:
public:
ScRefHandler(SfxDialogController &rController, SfxBindings* pB, bool bBindRef);
- virtual ~ScRefHandler() override;
+ virtual ~ScRefHandler() COVERITY_NOEXCEPT_FALSE override;
virtual void SetReference( const ScRange& rRef, ScDocument* pDoc ) override = 0;
virtual void AddRefEntry() override;
diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx
index 7a498aced9cd..168070ea4e64 100644
--- a/sc/source/ui/miscdlgs/anyrefdg.cxx
+++ b/sc/source/ui/miscdlgs/anyrefdg.cxx
@@ -605,7 +605,7 @@ bool ScRefHandler::EnterRefMode()
return m_bInRefMode = true;
}
-ScRefHandler::~ScRefHandler()
+ScRefHandler::~ScRefHandler() COVERITY_NOEXCEPT_FALSE
{
disposeRefHandler();
}