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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Dec 16 16:41:28 UTC 2018


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

New commits:
commit 294c38229a37604fe2d0d82a6ebc7bcd086963f4
Author:     Sumit Chauhan <sumitcn25 at gmail.com>
AuthorDate: Sun Dec 16 14:24:39 2018 +0530
Commit:     Heiko Tietze <tietze.heiko at gmail.com>
CommitDate: Sun Dec 16 17:41:08 2018 +0100

    tdf#121638 , Different angle shown between sidebar & size and position dialog
    
    Bug solved , Changed the nTmp = 360+nTmp ,if nTmp <0.
    
    Change-Id: I855e634540c55ab91e8bbe5824014d304d87c8e9
    Reviewed-on: https://gerrit.libreoffice.org/65211
    Tested-by: Jenkins
    Reviewed-by: Heiko Tietze <tietze.heiko at gmail.com>

diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
index 5b6bfc6d8caa..1df15cf8b4b2 100644
--- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
+++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
@@ -731,6 +731,7 @@ void PosSizePropertyPanel::NotifyItemUpdate(
                 if(pItem)
                 {
                     long nTmp = pItem->GetValue();
+                    nTmp = nTmp < 0 ? 36000+nTmp : nTmp;
 
                     mpMtrAngle->SetValue( nTmp );
                     mpDial->SetRotation( nTmp );


More information about the Libreoffice-commits mailing list