Kaydet (Commit) 964e8203 authored tarafından Matteo Casalin's avatar Matteo Casalin

Use unnamed namespace for IsNastyFollow

Change-Id: I67ccc093cd692a07761514af887e18184d5aa99b
üst cc4f8ca8
...@@ -41,9 +41,9 @@ ...@@ -41,9 +41,9 @@
#undef WIDOWTWIPS #undef WIDOWTWIPS
/************************************************************************* namespace
* inline IsNastyFollow() {
*************************************************************************/
// A Follow on the same page as its master is nasty. // A Follow on the same page as its master is nasty.
inline bool IsNastyFollow( const SwTxtFrm *pFrm ) inline bool IsNastyFollow( const SwTxtFrm *pFrm )
{ {
...@@ -53,6 +53,8 @@ inline bool IsNastyFollow( const SwTxtFrm *pFrm ) ...@@ -53,6 +53,8 @@ inline bool IsNastyFollow( const SwTxtFrm *pFrm )
return pFrm->IsFollow() && pFrm->GetPrev(); return pFrm->IsFollow() && pFrm->GetPrev();
} }
}
/************************************************************************* /*************************************************************************
* SwTxtFrmBreak::SwTxtFrmBreak() * SwTxtFrmBreak::SwTxtFrmBreak()
*************************************************************************/ *************************************************************************/
......
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