[Libreoffice-commits] core.git: svx/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Dec 4 08:54:32 UTC 2019


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

New commits:
commit 704dc5814a26f56c67da4e0b947abab452c4e94d
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 09:53:43 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/84362
    Reviewed-by: himajin100000 <himajin100000 at gmail.com>
    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 f9f3d576be2f..abbb315b9ffd 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