summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-08-08 09:28:27 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2018-08-08 20:38:04 +0200
commit18a8285433ec2f94d0ca523af8dd769ff46fd5a1 (patch)
tree70110d26675c2c1a09995c1744ffd225f6b3b69d
parent4eb27c796350d041675cfc963ed88bc08cd34b82 (diff)
Resolves: tdf#118281 control positions always in cm
Change-Id: I7803f673e835bd4575616d4e4b465ca144e282c8 Reviewed-on: https://gerrit.libreoffice.org/58727 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r--cui/source/tabpages/transfrm.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/cui/source/tabpages/transfrm.cxx b/cui/source/tabpages/transfrm.cxx
index 134ac9b3e988..bfc5017e3705 100644
--- a/cui/source/tabpages/transfrm.cxx
+++ b/cui/source/tabpages/transfrm.cxx
@@ -437,6 +437,11 @@ void SvxSlantTabPage::Construct()
DBG_ASSERT(pView, "no valid view (!)");
eDlgUnit = GetModuleFieldUnit(GetItemSet());
SetFieldUnit(*m_xMtrRadius, eDlgUnit, true);
+ for (int i = 0; i < 2; ++i)
+ {
+ SetFieldUnit(*m_aControlX[i], eDlgUnit, true);
+ SetFieldUnit(*m_aControlY[i], eDlgUnit, true);
+ }
{ // #i75273#
::tools::Rectangle aTempRect(pView->GetAllMarkedRect());