summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/vcl/errcode.hxx2
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();
}