summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/ssfrm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/layout/ssfrm.cxx')
-rw-r--r--sw/source/core/layout/ssfrm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/ssfrm.cxx b/sw/source/core/layout/ssfrm.cxx
index 2a4fd7421347..b8b3c1ecf8cf 100644
--- a/sw/source/core/layout/ssfrm.cxx
+++ b/sw/source/core/layout/ssfrm.cxx
@@ -415,7 +415,7 @@ void SwLayoutFrame::SetFrameFormat( SwFrameFormat *pNew )
SwContentFrame::SwContentFrame( SwContentNode * const pContent, SwFrame* pSib ) :
SwFrame( pContent, pSib ),
- SwFlowFrame( (SwFrame&)*this )
+ SwFlowFrame( static_cast<SwFrame&>(*this) )
{
}