summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-20 14:48:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-20 19:00:16 +0200
commit90ea2a7e9ffd0bea7ce8bb9432fbda6a9fa0cde5 (patch)
treecd80a9a400a39c914208c4fe9da679aa2bd1e673 /sc
parent57dcc00dd674219d4e50f9cb4fa6b797762af223 (diff)
cid#1448465 Uncaught exception
Change-Id: Ic70f0926b4e26f82045a791eadf6af1e9d7949a9 Reviewed-on: https://gerrit.libreoffice.org/76009 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/scopetools.hxx2
-rw-r--r--sc/source/core/tool/scopetools.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/scopetools.hxx b/sc/inc/scopetools.hxx
index 135a7ff5e008..aa48cf7ebf95 100644
--- a/sc/inc/scopetools.hxx
+++ b/sc/inc/scopetools.hxx
@@ -63,7 +63,7 @@ class SC_DLLPUBLIC DelayFormulaGroupingSwitch
bool const mbOldValue;
public:
DelayFormulaGroupingSwitch(ScDocument& rDoc, bool delay);
- ~DelayFormulaGroupingSwitch();
+ ~DelayFormulaGroupingSwitch() COVERITY_NOEXCEPT_FALSE;
void reset();
};
diff --git a/sc/source/core/tool/scopetools.cxx b/sc/source/core/tool/scopetools.cxx
index 44e634ef1ecf..71a4cf15eb1d 100644
--- a/sc/source/core/tool/scopetools.cxx
+++ b/sc/source/core/tool/scopetools.cxx
@@ -63,7 +63,7 @@ DelayFormulaGroupingSwitch::DelayFormulaGroupingSwitch(ScDocument& rDoc, bool de
mrDoc.DelayFormulaGrouping(delay);
}
-DelayFormulaGroupingSwitch::~DelayFormulaGroupingSwitch()
+DelayFormulaGroupingSwitch::~DelayFormulaGroupingSwitch() COVERITY_NOEXCEPT_FALSE
{
mrDoc.DelayFormulaGrouping(mbOldValue);
}