summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/fly.cxx4
-rw-r--r--sw/source/core/layout/pagechg.cxx4
2 files changed, 0 insertions, 8 deletions
diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx
index 3cac9d76fc74..3d00dcfc6ec7 100644
--- a/sw/source/core/layout/fly.cxx
+++ b/sw/source/core/layout/fly.cxx
@@ -269,10 +269,6 @@ void SwFlyFrm::DestroyImpl()
FinitDrawObj();
- // Hack to make sure code called from base ~SwLayoutFrm does not interpret
- // this as a SwFlyFrm (which it no longer is by then):
- mnFrmType = FRM_UNUSED;
-
SwLayoutFrm::DestroyImpl();
}
diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx
index d49c1e4e4f67..9e0475c5971e 100644
--- a/sw/source/core/layout/pagechg.cxx
+++ b/sw/source/core/layout/pagechg.cxx
@@ -264,10 +264,6 @@ void SwPageFrm::DestroyImpl()
}
}
- // Hack to make sure code called from base ~SwFtnBossFrm does not interpret
- // this as a SwPageFrm (which it no longer is by then):
- mnFrmType = FRM_UNUSED;
-
SwFtnBossFrm::DestroyImpl();
}