summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdedtv1.cxx
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2018-11-23 13:01:02 +0100
committerJan Holesovsky <kendy@collabora.com>2018-12-07 11:52:35 +0100
commit173953dd0ede08ad5972e48286f0d10e0d588733 (patch)
tree1a4416d581d542cba2e4ec5b87dbf7c5c31a2fa7 /svx/source/svdraw/svdedtv1.cxx
parent83b24d74b0934461d89ec40f6bc08f12b7c168a4 (diff)
lok: Right rotation calculation in case of delta angle
Change-Id: Ia7d0a573c1902fba3fc1e69f425bbf2dc93a1c82
Diffstat (limited to 'svx/source/svdraw/svdedtv1.cxx')
-rw-r--r--svx/source/svdraw/svdedtv1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdedtv1.cxx b/svx/source/svdraw/svdedtv1.cxx
index 25fa84e0520a..784cbc462215 100644
--- a/svx/source/svdraw/svdedtv1.cxx
+++ b/svx/source/svdraw/svdedtv1.cxx
@@ -1506,7 +1506,7 @@ void SdrEditView::SetGeoAttrToMarked(const SfxItemSet& rAttr)
// rotation
if (SfxItemState::SET == rAttr.GetItemState(SID_ATTR_TRANSFORM_DELTA_ANGLE, true, &pPoolItem)) {
- nRotateAngle = static_cast<const SfxInt32Item*>(pPoolItem)->GetValue() + nOldRotateAngle;
+ nRotateAngle = static_cast<const SfxInt32Item*>(pPoolItem)->GetValue();
bRotate = (nRotateAngle != 0);
}