summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-12-03 15:54:27 +0000
committerAron Budea <aron.budea@collabora.com>2020-03-24 13:58:36 +0100
commitb0cc070a1f3ba98fc124ac7d99e643ff58368231 (patch)
tree555229bc80e89b98a7060f031eb28baa314b6fa8
parentf08eeaa79fccbcc816f3ce604bea5375d5dcfc71 (diff)
Resolves: tdf#99711 update metric for spinbuttons before setting their values
which avoids the rounding problem Change-Id: I7e6a700037661ded1ba73d08009b9279ee12a140 Reviewed-on: https://gerrit.libreoffice.org/84364 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Jenkins (cherry picked from commit 162a9d7e625315bb7d2f7353bfe160dc2217defa) Reviewed-on: https://gerrit.libreoffice.org/84399 Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 154ab3d8a265c86ba5211578757542f87478b12e) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90970 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Aron Budea <aron.budea@collabora.com>
-rw-r--r--svx/source/sidebar/possize/PosSizePropertyPanel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
index 78a1bd1809ee..f494d970fda7 100644
--- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
+++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
@@ -103,10 +103,10 @@ PosSizePropertyPanel::PosSizePropertyPanel(
get( mpBtnEditChart, "btnEditChart" );
Initialize();
+ mpBindings->Update( SID_ATTR_METRIC );
mpBindings->Update( SID_ATTR_TRANSFORM_WIDTH );
mpBindings->Update( SID_ATTR_TRANSFORM_HEIGHT );
mpBindings->Update( SID_ATTR_TRANSFORM_PROTECT_SIZE );
- mpBindings->Update( SID_ATTR_METRIC );
}
PosSizePropertyPanel::~PosSizePropertyPanel()