summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2018-11-23 13:01:02 +0100
committerTor Lillqvist <tml@collabora.com>2019-08-27 22:25:55 +0200
commit78172b81a4cabdd39bea4dd037c3cd8309d6c57a (patch)
treeb6ed37a0916b480e0094ffcd11a2d35a2077d7b6 /svx
parent0351db5774bfde36cc7730912de863ad7f54daa7 (diff)
lok: Right rotation calculation in case of delta angle
Change-Id: Ia7d0a573c1902fba3fc1e69f425bbf2dc93a1c82 (cherry picked from commit 173953dd0ede08ad5972e48286f0d10e0d588733) Reviewed-on: https://gerrit.libreoffice.org/78197 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'svx')
-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 31fc953ed2b1..c0efa3a717a4 100644
--- a/svx/source/svdraw/svdedtv1.cxx
+++ b/svx/source/svdraw/svdedtv1.cxx
@@ -1544,7 +1544,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);
}