vcl/source/control/edit.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 55f3a4595891a8cc22272225d1c82419f28d4ef9 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sat Jul 25 11:49:14 2020 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Jul 25 13:52:45 2020 +0200 cid#1465512 Wrong operator used Change-Id: Ieda705abc6d49bfa4c611445f0df92a649b77117 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99429 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index f274eca3f581..0330fd4cf6f9 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -205,7 +205,7 @@ bool Edit::set_property(const OString &rKey, const OUString &rValue) SetPlaceholderText(rValue); else if (rKey == "shadow-type") { - if (GetStyle() | WB_BORDER) + if (GetStyle() & WB_BORDER) SetBorderStyle(rValue == "none" ? WindowBorderStyle::MONO : WindowBorderStyle::NORMAL); } else _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits