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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/sectfrm.cxx b/sw/source/core/layout/sectfrm.cxx
index 7dd2e43a976c..b94ba4582d85 100644
--- a/sw/source/core/layout/sectfrm.cxx
+++ b/sw/source/core/layout/sectfrm.cxx
@@ -58,7 +58,7 @@ SwSectionFrame::SwSectionFrame( SwSection &rSect, SwFrame* pSib )
SwSectionFrame::SwSectionFrame( SwSectionFrame &rSect, bool bMaster ) :
SwLayoutFrame( rSect.GetFormat(), rSect.getRootFrame() ),
- SwFlowFrame( (SwFrame&)*this ),
+ SwFlowFrame( static_cast<SwFrame&>(*this) ),
m_pSection( rSect.GetSection() ),
m_bFootnoteAtEnd( rSect.IsFootnoteAtEnd() ),
m_bEndnAtEnd( rSect.IsEndnAtEnd() ),