svx/source/sidebar/possize/PosSizePropertyPanel.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit b3eb3ef769642b2fa5b9453a8900bcb944643215 Author: Sumit Chauhan <sumitc...@gmail.com> AuthorDate: Sun Dec 16 14:24:39 2018 +0530 Commit: Heiko Tietze <tietze.he...@gmail.com> CommitDate: Mon Dec 17 10:21:09 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.he...@gmail.com> (cherry picked from commit 294c38229a37604fe2d0d82a6ebc7bcd086963f4) Reviewed-on: https://gerrit.libreoffice.org/65224 Tested-by: Xisco FaulĂ <xiscofa...@libreoffice.org> diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx index 1afdf1e725b9..667e7834caa2 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx @@ -682,6 +682,7 @@ void PosSizePropertyPanel::NotifyItemUpdate( if(pItem) { long nTmp = pItem->GetValue(); + nTmp = nTmp < 0 ? 36000+nTmp : nTmp; mpMtrAngle->SetValue( nTmp ); mpDial->SetRotation( nTmp ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits