diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdundo.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx index e2e4f53cecba..6b6e676748fe 100644 --- a/svx/source/svdraw/svdundo.cxx +++ b/svx/source/svdraw/svdundo.cxx @@ -790,8 +790,7 @@ void SdrUndoInsertObj::Redo() // which becomes a member of a group, because its cleared in method // <InsertObject(..)>. Needed for correct Redo in Writer. (#i45952#) Point aAnchorPos( 0, 0 ); - if ( pObjList && - dynamic_cast<const SdrObjGroup*>(pObjList->GetOwnerObj()) != nullptr ) + if (dynamic_cast<const SdrObjGroup*>(pObjList->GetOwnerObj()) != nullptr) { aAnchorPos = pObj->GetAnchorPos(); } |