diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-12-03 15:54:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-12-04 11:38:19 +0100 |
commit | ad080296feb5663c0917816229eeb81683fc4c66 (patch) | |
tree | ebbf0d0fd2a43f0a103c6ed118d38c5388cf99c5 /svx | |
parent | d2948f8ae7e3442762c4ce9c3d7b7aa0c0beff86 (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/84363
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sidebar/possize/PosSizePropertyPanel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx index b7649bd7e0ea..ab09d90f8062 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx @@ -108,10 +108,10 @@ PosSizePropertyPanel::PosSizePropertyPanel( get( mpFlipTbx, "selectrotationtype" ); 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() |