summaryrefslogtreecommitdiff
path: root/include
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
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')
-rw-r--r--include/comphelper/unique_disposing_ptr.hxx2
-rw-r--r--include/vcl/dndhelp.hxx2
-rw-r--r--include/vcl/scopedbitmapaccess.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/comphelper/unique_disposing_ptr.hxx b/include/comphelper/unique_disposing_ptr.hxx
index 395398f3965f..8434a1e916b3 100644
--- a/include/comphelper/unique_disposing_ptr.hxx
+++ b/include/comphelper/unique_disposing_ptr.hxx
@@ -62,7 +62,7 @@ public:
return static_cast< bool >(m_xItem);
}
- virtual ~unique_disposing_ptr()
+ virtual ~unique_disposing_ptr() COVERITY_NOEXCEPT_FALSE
{
reset();
}
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 );