[Libreoffice-commits] core.git: Branch 'libreoffice-6-4' - svx/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Dec 4 10:38:57 UTC 2019


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

New commits:
commit ad080296feb5663c0917816229eeb81683fc4c66
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Dec 3 15:54:27 2019 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Dec 4 11:38:19 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/84363
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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()


More information about the Libreoffice-commits mailing list