svx/source/sidebar/possize/PosSizePropertyPanel.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 162a9d7e625315bb7d2f7353bfe160dc2217defa
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Tue Dec 3 15:54:27 2019 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Tue Dec 3 22:14:11 2019 +0100

    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 <fit...@ubuntu.com>
    Tested-by: Jenkins

diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx 
b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
index fd45c8cfaa41..3e1c81430d32 100644
--- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
+++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
@@ -107,10 +107,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()
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to