[Libreoffice-commits] core.git: include/vcl
Noel Grandin
noelgrandin at gmail.com
Sat Aug 12 22:19:29 UTC 2017
include/vcl/errcode.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bec5a2ac82b5178f6e765494c2003febe8ab51da
Author: Noel Grandin <noelgrandin at gmail.com>
Date: Sat Aug 12 20:30:37 2017 +0200
fix ErrCode::MakeWarning
regression from commit 528632660b72b105345945c13c5b68060d94a91b
"convert ErrCode to strong typedef"
Change-Id: If4827f81b142e3e67c4c36bc0505012cf0880f37
Reviewed-on: https://gerrit.libreoffice.org/41096
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/include/vcl/errcode.hxx b/include/vcl/errcode.hxx
index 2563c12ab957..fb9018466c18 100644
--- a/include/vcl/errcode.hxx
+++ b/include/vcl/errcode.hxx
@@ -88,7 +88,7 @@ public:
}
ErrCode MakeWarning() const {
- return ErrCode(m_value & ERRCODE_WARNING_MASK);
+ return ErrCode(m_value | ERRCODE_WARNING_MASK);
}
bool IsError() {
More information about the Libreoffice-commits
mailing list