svx/source/svdraw/svdedtv1.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 78172b81a4cabdd39bea4dd037c3cd8309d6c57a
Author:     Tamás Zolnai <[email protected]>
AuthorDate: Fri Nov 23 13:01:02 2018 +0100
Commit:     Tor Lillqvist <[email protected]>
CommitDate: Tue Aug 27 22:25:55 2019 +0200

    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 <[email protected]>
    Reviewed-by: Tor Lillqvist <[email protected]>
    Tested-by: Tor Lillqvist <[email protected]>

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);
     }
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to