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 );