[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - svx/source

Tamás Zolnai (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 27 20:27:12 UTC 2019


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

New commits:
commit 78172b81a4cabdd39bea4dd037c3cd8309d6c57a
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Fri Nov 23 13:01:02 2018 +0100
Commit:     Tor Lillqvist <tml at collabora.com>
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 <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Tor Lillqvist <tml at collabora.com>
    Tested-by: Tor Lillqvist <tml at collabora.com>

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);
     }
 


More information about the Libreoffice-commits mailing list