summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-12-29 13:19:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-12-29 12:25:25 +0000
commit62ed082ee026023d332b2b4bbbc8a7b49580fa2e (patch)
treef226b958891d94c26116fd23db7c48cae1f20034 /svx
parent98448a25219166d4775a81a01b1deb029d7d7efd (diff)
tdf#152683 LO Draw ignoring Undo:Resize Grouped Object
regression from commit 4e24efb563cbe6fec4185b4f7ec3755b2fc05b6b tdf#54857 elide more dynamic_cast Change-Id: I4fbabe64649ee47a9360dd939b5f39d35bd29c51 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144858 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdundo.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx
index 20be7b878845..c0ad2f392833 100644
--- a/svx/source/svdraw/svdundo.cxx
+++ b/svx/source/svdraw/svdundo.cxx
@@ -560,7 +560,7 @@ SdrUndoGeoObj::SdrUndoGeoObj(SdrObject& rNewObj)
, mbSkipChangeLayout(false)
{
SdrObjList* pOL=rNewObj.GetSubList();
- if (pOL!=nullptr && pOL->GetObjCount() && DynCastE3dScene(&rNewObj))
+ if (pOL!=nullptr && pOL->GetObjCount() && !DynCastE3dScene(&rNewObj))
{
// this is a group object!
// If this were 3D scene, we'd only add an Undo for the scene itself