diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-25 16:11:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-26 12:44:44 +0200 |
commit | db04585533cc0f5971f6238c18ae7cadcf31d930 (patch) | |
tree | 0bf7c00a3baa1dadf3c836d13a4cc6d3b315e4e7 /include | |
parent | 018687837648dfe1832ddabbd4cda183708d7fdc (diff) |
loplugin:constmethod in basegfx,sot
Change-Id: I05d2cdefb7faf489ec29ba28dc5e3c28d08b9780
Reviewed-on: https://gerrit.libreoffice.org/43863
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-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 6b6ffdede306..9db4587baae0 100644 --- a/include/vcl/errcode.hxx +++ b/include/vcl/errcode.hxx @@ -100,7 +100,7 @@ public: return ErrCode(m_value | ERRCODE_WARNING_MASK); } - bool IsError() { + bool IsError() const { return m_value && !IsWarning(); } |