summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorSumit Chauhan <sumitcn25@gmail.com>2018-12-16 14:24:39 +0530
committerHeiko Tietze <tietze.heiko@gmail.com>2018-12-16 17:41:08 +0100
commit294c38229a37604fe2d0d82a6ebc7bcd086963f4 (patch)
tree958545038fda7c1e659317e01e13008318a51ab1 /svx
parent0d2ac93f4a3bec9d2fe2719b270333193d20596b (diff)
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@gmail.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/possize/PosSizePropertyPanel.cxx1
1 files changed, 1 insertions, 0 deletions
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 );