summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/sectfrm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/layout/sectfrm.cxx')
-rw-r--r--sw/source/core/layout/sectfrm.cxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/sw/source/core/layout/sectfrm.cxx b/sw/source/core/layout/sectfrm.cxx
index ef1f3793fcb5..63f2bbdaa1c2 100644
--- a/sw/source/core/layout/sectfrm.cxx
+++ b/sw/source/core/layout/sectfrm.cxx
@@ -71,10 +71,15 @@ SV_IMPL_PTRARR_SORT( SwDestroyList, SwSectionFrmPtr )
|* SwSectionFrm::SwSectionFrm(), ~SwSectionFrm()
|*
|*************************************************************************/
-SwSectionFrm::SwSectionFrm( SwSection &rSect, SwFrm* pSib ) :
- SwLayoutFrm( rSect.GetFmt(), pSib ),
- SwFlowFrm( (SwFrm&)*this ),
- pSection( &rSect )
+SwSectionFrm::SwSectionFrm( SwSection &rSect, SwFrm* pSib )
+ : SwLayoutFrm( rSect.GetFmt(), pSib )
+ , SwFlowFrm( static_cast<SwFrm&>(*this) )
+ , pSection( &rSect )
+ , bFtnAtEnd(false)
+ , bEndnAtEnd(false)
+ , bCntntLock(false)
+ , bOwnFtnNum(false)
+ , bFtnLock(false)
{
nType = FRMC_SECTION;