summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-12-27 19:39:54 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-12-27 22:35:18 +0100
commit3d44173d81042eea788488bc5249b40f5f7e9a36 (patch)
tree734e739681a072f0bf5710a94c890d63a9b9d2e3 /vcl
parent2d348132ab307e866dc2be8282b6e16aac65d29d (diff)
replace margin-left with margin-start
and restore assert to not use margin-left/right anymore Change-Id: I05d2a4cc829ed9de3cca73d987f5a66e0582eaa5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108379 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/window2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index 6b334257afc2..dc3dcdc93db0 100644
--- a/vcl/source/window/window2.cxx
+++ b/vcl/source/window/window2.cxx
@@ -1532,7 +1532,7 @@ bool Window::set_property(const OString &rKey, const OUString &rValue)
set_border_width(rValue.toInt32());
else if (rKey == "margin-start" || rKey == "margin-left")
{
- //TODO: assert(rKey == "margin-start" && "margin-left deprecated in favor of margin-start");
+ assert(rKey == "margin-start" && "margin-left deprecated in favor of margin-start");
set_margin_start(rValue.toInt32());
}
else if (rKey == "margin-end" || rKey == "margin-right")