diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-07-25 11:49:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-07-25 13:52:45 +0200 |
commit | 55f3a4595891a8cc22272225d1c82419f28d4ef9 (patch) | |
tree | 88dffa80e67833e8da284c4a834fed8bef2a2984 /vcl | |
parent | 745b779a8769c19d2a13682970265e35ba1f3329 (diff) |
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 <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/edit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 |