summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/undobj1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/undo/undobj1.cxx')
-rw-r--r--sw/source/core/undo/undobj1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/undo/undobj1.cxx b/sw/source/core/undo/undobj1.cxx
index 7696d1a7971b..b45a5b309082 100644
--- a/sw/source/core/undo/undobj1.cxx
+++ b/sw/source/core/undo/undobj1.cxx
@@ -171,7 +171,7 @@ void SwUndoFlyBase::DelFly( SwDoc* pDoc )
const_cast<SwFormatContent&>(rContent).SetNewContentIdx( nullptr );
}
// OD 02.07.2003 #108784# - remove 'master' drawing object from drawing page
- else if ( RES_DRAWFRMFMT == pFrameFormat->Which() )
+ else
{
SwDrawContact* pDrawContact =
static_cast<SwDrawContact*>(pFrameFormat->FindContactObj());