Kaydet (Commit) 47903156 authored tarafından Michael Stahl's avatar Michael Stahl

sw: revert type changes in SwFrm subclass destructors

These should be unnecessary now with DestroyImpl() and might break stuff.

Reverts commits 5a934b2c and
db2c0dc7.

Change-Id: Ida880dfed9fa6445b3530e2c4788fd4974c8f9c7
üst f00be42d
......@@ -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();
}
......
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment