diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-07-27 12:21:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-07-27 20:12:05 +0200 |
commit | b56aaa3bef7b5f3e8641df8e3eb67484fb199ed4 (patch) | |
tree | 1447958afa275e8d79dec077356b3e1c308bb05f /vcl/source | |
parent | 7fd9bd4cdf4ffc03b2280964ef3f7e5917769bbd (diff) |
make margin-start/margin-left and margin-end/margin-right synonyms
Change-Id: I15dc9a87ca0a25d34b1280eb5e776e933a080a62
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99486
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/window2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx index cf0c74ca2d59..8a6809771c3a 100644 --- a/vcl/source/window/window2.cxx +++ b/vcl/source/window/window2.cxx @@ -1516,9 +1516,9 @@ bool Window::set_property(const OString &rKey, const OUString &rValue) SetQuickHelpText(rValue); else if (rKey == "border-width") set_border_width(rValue.toInt32()); - else if (rKey == "margin-left") + else if (rKey == "margin-start" || rKey == "margin-left") set_margin_left(rValue.toInt32()); - else if (rKey == "margin-right") + else if (rKey == "margin-end" || rKey == "margin-right") set_margin_right(rValue.toInt32()); else if (rKey == "margin-top") set_margin_top(rValue.toInt32()); |