diff options
Diffstat (limited to 'vcl/source/control')
-rw-r--r-- | vcl/source/control/button.cxx | 2 | ||||
-rw-r--r-- | vcl/source/control/edit.cxx | 2 | ||||
-rw-r--r-- | vcl/source/control/fixed.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index c8e62b9a2592..b93c9f7f1129 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -1671,7 +1671,7 @@ bool PushButton::set_property(const OString &rKey, const OUString &rValue) if (rKey == "has-default") { WinBits nBits = GetStyle(); - nBits &= ~(WB_DEFBUTTON); + nBits &= ~WB_DEFBUTTON; if (toBool(rValue)) nBits |= WB_DEFBUTTON; SetStyle(nBits); diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index 7b30affd8732..211820a26d7e 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -204,7 +204,7 @@ bool Edit::set_property(const OString &rKey, const OUString &rValue) else if (rKey == "visibility") { WinBits nBits = GetStyle(); - nBits &= ~(WB_PASSWORD); + nBits &= ~WB_PASSWORD; if (!toBool(rValue)) nBits |= WB_PASSWORD; SetStyle(nBits); diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx index 96da4001428a..23f06b7f03ca 100644 --- a/vcl/source/control/fixed.cxx +++ b/vcl/source/control/fixed.cxx @@ -400,7 +400,7 @@ bool FixedText::set_property(const OString &rKey, const OUString &rValue) else if (rKey == "ellipsize") { WinBits nBits = GetStyle(); - nBits &= ~(WB_PATHELLIPSIS); + nBits &= ~WB_PATHELLIPSIS; if (rValue != "none") { SAL_WARN_IF(rValue != "end", "vcl.layout", "Only endellipsis support for now"); |