[Libreoffice-commits] core.git: sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jan 3 19:28:37 UTC 2020
sc/source/ui/docshell/docsh.cxx | 2 +-
sc/source/ui/inc/docsh.hxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit c412a95af922972fcf100b48d4baa462b37f9e38
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Jan 3 15:07:45 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Jan 3 20:28:07 2020 +0100
cid#1456611 Uncaught exception
Change-Id: Ice8dcd4ed069bb4fc971d487b706bedc6b02012b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86185
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index 4a6b32c3811c..f9f1fc52f7d1 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -1713,7 +1713,7 @@ ScDocShell::PrepareSaveGuard::PrepareSaveGuard( ScDocShell& rDocShell )
mrDocShell.SfxObjectShell::SetVisArea( tools::Rectangle() ); // "Normally" worked on => no VisArea.
}
-ScDocShell::PrepareSaveGuard::~PrepareSaveGuard()
+ScDocShell::PrepareSaveGuard::~PrepareSaveGuard() COVERITY_NOEXCEPT_FALSE
{
if (mrDocShell.m_aDocument.HasExternalRefManager())
{
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx
index 6694707d5ee8..30056ed5bb75 100644
--- a/sc/source/ui/inc/docsh.hxx
+++ b/sc/source/ui/inc/docsh.hxx
@@ -129,7 +129,7 @@ class SC_DLLPUBLIC ScDocShell final: public SfxObjectShell, public SfxListener
{
public:
explicit PrepareSaveGuard( ScDocShell & rDocShell );
- ~PrepareSaveGuard();
+ ~PrepareSaveGuard() COVERITY_NOEXCEPT_FALSE;
private:
ScDocShell & mrDocShell;
};
More information about the Libreoffice-commits
mailing list