vcl/source/window/window2.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit b56aaa3bef7b5f3e8641df8e3eb67484fb199ed4 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Jul 27 12:21:52 2020 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Jul 27 20:12:05 2020 +0200 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 <caol...@redhat.com> Reviewed-by: Caolán McNamara <caol...@redhat.com> 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()); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits