Kaydet (Commit) f70cf02d authored tarafından Takeshi Abe's avatar Takeshi Abe

make it static

Change-Id: Iaf29abb4f7067898318476538773663713e09067
üst ac2cfed5
...@@ -984,7 +984,7 @@ SwDrawFrmFmt* SwDoc::Insert( const SwPaM &rRg, ...@@ -984,7 +984,7 @@ SwDrawFrmFmt* SwDoc::Insert( const SwPaM &rRg,
frames at character - o.k. if the PaM starts at least at the same position frames at character - o.k. if the PaM starts at least at the same position
as the frame as the frame
---------------------------------------------------------------------------*/ ---------------------------------------------------------------------------*/
bool TstFlyRange( const SwPaM* pPam, const SwPosition* pFlyPos, static bool lcl_TstFlyRange( const SwPaM* pPam, const SwPosition* pFlyPos,
RndStdIds nAnchorId ) RndStdIds nAnchorId )
{ {
bool bOk = false; bool bOk = false;
...@@ -1042,7 +1042,7 @@ void SwDoc::GetAllFlyFmts( SwPosFlyFrms& rPosFlyFmts, ...@@ -1042,7 +1042,7 @@ void SwDoc::GetAllFlyFmts( SwPosFlyFrms& rPosFlyFmts,
((FLY_AS_CHAR == rAnchor.GetAnchorId()) && bAsCharAlso))) ((FLY_AS_CHAR == rAnchor.GetAnchorId()) && bAsCharAlso)))
{ {
if( pCmpRange && if( pCmpRange &&
!TstFlyRange( pCmpRange, pAPos, rAnchor.GetAnchorId() )) !lcl_TstFlyRange( pCmpRange, pAPos, rAnchor.GetAnchorId() ))
continue; // not a valid FlyFrame continue; // not a valid FlyFrame
pFPos = new SwPosFlyFrm( pAPos->nNode, pFly, rPosFlyFmts.size() ); pFPos = new SwPosFlyFrm( pAPos->nNode, pFly, rPosFlyFmts.size() );
rPosFlyFmts.insert( pFPos ); rPosFlyFmts.insert( pFPos );
......
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