summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-10-08 17:00:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-10-08 21:01:45 +0200
commit5649ddc290b00510fa89490661d4e9e46fc06d62 (patch)
tree942cdef9cf0d793e2bcd78b85f4fa64e0d05f04e
parent492b4a76ee83627a653cb73dd2b7580ff0d15538 (diff)
vertical centering is WB_VCENTER not WB_CENTER
Change-Id: I75cff767008aa215ce43856da4cd31db1b6d83fa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123269 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-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 bf58278e5b15..0703aeaa309f 100644
--- a/vcl/source/window/window2.cxx
+++ b/vcl/source/window/window2.cxx
@@ -1496,7 +1496,7 @@ bool Window::set_property(const OString &rKey, const OUString &rValue)
else if (f == 1.0)
nBits |= WB_BOTTOM;
else if (f == 0.5)
- nBits |= WB_CENTER;
+ nBits |= WB_VCENTER;
SetStyle(nBits);
}