From 4e901370add2c7d98a7e9feb9ece6df465293fff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 18 Oct 2019 09:08:57 +0100 Subject: [PATCH] cid#1454633 silence Uncaught exception MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id75da775ce247c06541d9f4e7d12b4928336cbd4 Reviewed-on: https://gerrit.libreoffice.org/81019 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- vcl/inc/WidgetDrawInterface.hxx | 2 +- vcl/inc/salgdi.hxx | 2 +- vcl/inc/unx/salgdi.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vcl/inc/WidgetDrawInterface.hxx b/vcl/inc/WidgetDrawInterface.hxx index e8c4483339d0..2c882950b03a 100644 --- a/vcl/inc/WidgetDrawInterface.hxx +++ b/vcl/inc/WidgetDrawInterface.hxx @@ -20,7 +20,7 @@ namespace vcl class VCL_PLUGIN_PUBLIC WidgetDrawInterface { public: - virtual ~WidgetDrawInterface() {} + virtual ~WidgetDrawInterface() COVERITY_NOEXCEPT_FALSE {} /** * Query the platform layer for native control support. diff --git a/vcl/inc/salgdi.hxx b/vcl/inc/salgdi.hxx index a504fb9fa071..d61c00cd9654 100644 --- a/vcl/inc/salgdi.hxx +++ b/vcl/inc/salgdi.hxx @@ -73,7 +73,7 @@ class VCL_PLUGIN_PUBLIC SalGraphics : protected vcl::WidgetDrawInterface { public: SalGraphics(); - ~SalGraphics() override; + ~SalGraphics() COVERITY_NOEXCEPT_FALSE override; virtual SalGraphicsImpl* GetImpl() const = 0; diff --git a/vcl/inc/unx/salgdi.h b/vcl/inc/unx/salgdi.h index adb7969434fb..a6cb1dddbe02 100644 --- a/vcl/inc/unx/salgdi.h +++ b/vcl/inc/unx/salgdi.h @@ -69,7 +69,7 @@ class VCLPLUG_GEN_PUBLIC X11SalGraphics : public SalGraphics public: X11SalGraphics(); - virtual ~X11SalGraphics() override; + virtual ~X11SalGraphics() COVERITY_NOEXCEPT_FALSE override; void Init( SalFrame *pFrame, Drawable aDrawable, SalX11Screen nXScreen ); void Init( X11SalVirtualDevice *pVirtualDevice, SalColormap* pColormap = nullptr, bool bDeleteColormap = false );