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-30 09:50:57 +0200 |
commit | cd69dddcf94b6347f37297632101f57321c52204 (patch) | |
tree | 34ca0ebb090ab8fcf80c994f85ccc87a840d4be2 /sw | |
parent | 620c0838e5ceaa86b234c75687b3773097e8e353 (diff) |
sw: outline SwFrm::Calc()
Change-Id: I9c59116828585c9645bc415ef5fffe65a24d09ee
(cherry picked from commit 533e97947d82f780d5b1b7a02138d738b2435a56)
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 578192f54ec1..035d12c9296f 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() ); |