Kaydet (Commit) 533e9794 authored tarafından Miklos Vajna's avatar Miklos Vajna

sw: outline SwFrm::Calc()

Change-Id: I9c59116828585c9645bc415ef5fffe65a24d09ee
üst 9c330da6
......@@ -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 )
......
......@@ -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() );
......
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