Kaydet (Commit) 20e28ffd authored tarafından Miklos Vajna's avatar Miklos Vajna Kaydeden (comit) Andras Timar

sw: outline SwFrm::Calc()

Change-Id: I9c59116828585c9645bc415ef5fffe65a24d09ee
(cherry picked from commit 533e9794)
üst e9efb1e8
...@@ -998,11 +998,6 @@ inline void SwFrm::InvalidateNextPos( bool bNoFootnote ) ...@@ -998,11 +998,6 @@ inline void SwFrm::InvalidateNextPos( bool bNoFootnote )
ImplInvalidateNextPos( bNoFootnote ); ImplInvalidateNextPos( bNoFootnote );
} }
inline void SwFrm::Calc() const
{
if ( !mbValidPos || !mbValidPrtArea || !mbValidSize )
const_cast<SwFrm*>(this)->PrepareMake();
}
inline void SwFrm::OptCalc() const inline void SwFrm::OptCalc() const
{ {
if ( !mbValidPos || !mbValidPrtArea || !mbValidSize ) if ( !mbValidPos || !mbValidPrtArea || !mbValidSize )
......
...@@ -1786,6 +1786,12 @@ bool SwFrm::OnFirstPage() const ...@@ -1786,6 +1786,12 @@ bool SwFrm::OnFirstPage() const
return bRet; return bRet;
} }
void SwFrm::Calc() const
{
if ( !mbValidPos || !mbValidPrtArea || !mbValidSize )
const_cast<SwFrm*>(this)->PrepareMake();
}
Point SwFrm::GetRelPos() const Point SwFrm::GetRelPos() const
{ {
Point aRet( maFrm.Pos() ); Point aRet( maFrm.Pos() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment