diff options
-rw-r--r-- | sw/source/core/inc/ftnfrm.hxx | 4 | ||||
-rw-r--r-- | sw/source/core/layout/flowfrm.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/inc/ftnfrm.hxx b/sw/source/core/inc/ftnfrm.hxx index 0cedbad4f40c..34dc89bc146c 100644 --- a/sw/source/core/inc/ftnfrm.hxx +++ b/sw/source/core/inc/ftnfrm.hxx @@ -53,7 +53,7 @@ public: const SwFootnoteFrame* FindFootNote() const; static inline SwFootnoteFrame* AppendChained(SwFrame* pThis, bool bDefaultFormat); - static inline SwFootnoteFrame* PrepedChained(SwFrame* pThis, bool bDefaultFormat); + static inline SwFootnoteFrame* PrependChained(SwFrame* pThis, bool bDefaultFormat); virtual SwTwips ShrinkFrame( SwTwips, bool bTst = false, bool bInfo = false ) override; virtual SwTwips GrowFrame ( SwTwips, bool bTst = false, bool bInfo = false ) override; @@ -71,7 +71,7 @@ inline SwFootnoteFrame* SwFootnoteContFrame::AppendChained(SwFrame* pThis, bool return AddChained(true, pThis, bDefaultFormat); } -inline SwFootnoteFrame* SwFootnoteContFrame::PrepedChained(SwFrame* pThis, bool bDefaultFormat) +inline SwFootnoteFrame* SwFootnoteContFrame::PrependChained(SwFrame* pThis, bool bDefaultFormat) { return AddChained(false, pThis, bDefaultFormat); } diff --git a/sw/source/core/layout/flowfrm.cxx b/sw/source/core/layout/flowfrm.cxx index 685efcf791db..b4c8aeb27931 100644 --- a/sw/source/core/layout/flowfrm.cxx +++ b/sw/source/core/layout/flowfrm.cxx @@ -2473,7 +2473,7 @@ bool SwFlowFrame::MoveBwd( bool &rbReformat ) if ( pNewUpper->IsFootnoteContFrame() ) { // I may have gotten a Container - SwFootnoteFrame *pNew = SwFootnoteContFrame::AppendChained(&m_rThis, false); + SwFootnoteFrame *pNew = SwFootnoteContFrame::PrependChained(&m_rThis, false); pNew->Paste( pNewUpper ); pNewUpper = pNew; } |