diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-06-29 09:13:36 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-06-29 09:37:50 +0200 |
commit | 533e97947d82f780d5b1b7a02138d738b2435a56 (patch) | |
tree | fe226ec94f5f939b0a305f0ba955e1e0413b1c7c /sw | |
parent | 9c330da6784fe7982e5dc78203f0c886054f0174 (diff) |
sw: outline SwFrm::Calc()
Change-Id: I9c59116828585c9645bc415ef5fffe65a24d09ee
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/inc/frame.hxx | 5 | ||||
-rw-r--r-- | sw/source/core/layout/trvlfrm.cxx | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx index 9677a5f81828..f97180926965 100644 --- a/sw/source/core/inc/frame.hxx +++ b/sw/source/core/inc/frame.hxx @@ -998,11 +998,6 @@ inline void SwFrm::InvalidateNextPos( bool bNoFootnote ) ImplInvalidateNextPos( bNoFootnote ); } -inline void SwFrm::Calc() const -{ - if ( !mbValidPos || !mbValidPrtArea || !mbValidSize ) - const_cast<SwFrm*>(this)->PrepareMake(); -} inline void SwFrm::OptCalc() const { if ( !mbValidPos || !mbValidPrtArea || !mbValidSize ) diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx index 20fbfa9b89a0..7a124c56d9d0 100644 --- a/sw/source/core/layout/trvlfrm.cxx +++ b/sw/source/core/layout/trvlfrm.cxx @@ -1786,6 +1786,12 @@ bool SwFrm::OnFirstPage() const return bRet; } +void SwFrm::Calc() const +{ + if ( !mbValidPos || !mbValidPrtArea || !mbValidSize ) + const_cast<SwFrm*>(this)->PrepareMake(); +} + Point SwFrm::GetRelPos() const { Point aRet( maFrm.Pos() ); |