sw/source/uibase/uiview/viewdraw.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
New commits: commit dfedf4fd99a5f9cdce2374e0e3f09065b9f86d58 Author: Oliver Specht <oliver.spe...@cib.de> AuthorDate: Thu Mar 6 16:19:55 2025 +0100 Commit: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> CommitDate: Thu Mar 13 13:13:29 2025 +0100 tdf#90293 switch on rotation of shapes Adds Writer images not handled by c628a26cd3f763b39a2e2441fc766dabf04ed492 Change-Id: Icaf046df0eef9cf3722a00bb1d7761c849f03734 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182593 Reviewed-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> Tested-by: allotropia jenkins <jenk...@allotropia.de> diff --git a/sw/source/uibase/uiview/viewdraw.cxx b/sw/source/uibase/uiview/viewdraw.cxx index 003f884a5959..6f7f07117cfa 100644 --- a/sw/source/uibase/uiview/viewdraw.cxx +++ b/sw/source/uibase/uiview/viewdraw.cxx @@ -450,8 +450,10 @@ void SwView::NoRotate() void SwView::ToggleRotate() { - if (m_pWrtShell->IsObjSelected() && - m_pWrtShell->GetDrawView()->IsRotateAllowed()) + if ((m_pWrtShell->IsObjSelected() && + m_pWrtShell->GetDrawView()->IsRotateAllowed()) || + (m_pWrtShell->IsRotationOfSwGrfNodePossible() && + m_pWrtShell->GetDrawViewWithValidMarkList()->IsRotateAllowed())) { if (IsDrawRotate()) m_pWrtShell->SetDragMode(SdrDragMode::Move);