diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-21 09:17:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-22 08:42:19 +0200 |
commit | 17122091ec2c5a229484806746e5b8ed03c99327 (patch) | |
tree | be1ad5050197f83ffe1bb337ae4e21095c8b2816 /include/vcl | |
parent | d3c70b5f704f20e15611a8bf0d162a3c637400b6 (diff) |
mark ErrCode with SAL_WARN_UNUSED
Change-Id: Ia5e60636f74cde8e93c7c21bdab50a1feb10e103
Reviewed-on: https://gerrit.libreoffice.org/39031
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/errcode.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/errcode.hxx b/include/vcl/errcode.hxx index 1ea3b304e8c9..7e74594bdb75 100644 --- a/include/vcl/errcode.hxx +++ b/include/vcl/errcode.hxx @@ -64,7 +64,7 @@ Warning || || | /** we get included in contexts that don't have access to config_typesizes.h or C++11 */ #ifndef __RSC -class ErrCode final +class SAL_WARN_UNUSED ErrCode final { public: explicit constexpr ErrCode(sal_uInt32 value) : m_value(value) {} |