summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-11-17 12:23:26 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-11-18 21:59:23 +0100
commit5280b3eaa6e9a9ee5994c1459f459336908fc741 (patch)
tree5b45258b0065c4720efbf713748ab67b8bab48a8 /include/vcl
parent06756e412b2a02030ce3355b3fe4e2ecc71d2301 (diff)
silence some coverity warnings
Change-Id: I5a530e37156b5cd36e8a07ac20851880a46f520d Reviewed-on: https://gerrit.libreoffice.org/44875 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/dndhelp.hxx2
-rw-r--r--include/vcl/scopedbitmapaccess.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/dndhelp.hxx b/include/vcl/dndhelp.hxx
index 57c941c2b8d0..20b09c3ecbb9 100644
--- a/include/vcl/dndhelp.hxx
+++ b/include/vcl/dndhelp.hxx
@@ -53,7 +53,7 @@ namespace unohelper
class VCL_DLLPUBLIC DragAndDropClient
{
public:
- virtual ~DragAndDropClient();
+ virtual ~DragAndDropClient() COVERITY_NOEXCEPT_FALSE;
// css::datatransfer::dnd::XDragGestureListener
/// @throws css::uno::RuntimeException
diff --git a/include/vcl/scopedbitmapaccess.hxx b/include/vcl/scopedbitmapaccess.hxx
index 29941368f340..05eb39587bac 100644
--- a/include/vcl/scopedbitmapaccess.hxx
+++ b/include/vcl/scopedbitmapaccess.hxx
@@ -82,7 +82,7 @@ public:
ScopedBitmapAccess(const ScopedBitmapAccess&) = delete;
ScopedBitmapAccess &operator=(const ScopedBitmapAccess&) = delete;
- ~ScopedBitmapAccess()
+ ~ScopedBitmapAccess() COVERITY_NOEXCEPT_FALSE
{
if (mpAccess)
mpBitmap->ReleaseAccess( mpAccess );