summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-11-03 12:18:21 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-11-03 12:20:23 +0900
commitf70cf02d9073a2a7557eb01bac401213d5c11314 (patch)
tree41843b46e736734f0aea7b1e55f5b29ad2163ad3 /sw/source
parentac2cfed553b8c9303f86758e9fe8b70911db00cd (diff)
make it static
Change-Id: Iaf29abb4f7067898318476538773663713e09067
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/doc/doclay.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx
index 5329a63ebb64..9d94145e0dba 100644
--- a/sw/source/core/doc/doclay.cxx
+++ b/sw/source/core/doc/doclay.cxx
@@ -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
as the frame
---------------------------------------------------------------------------*/
-bool TstFlyRange( const SwPaM* pPam, const SwPosition* pFlyPos,
+static bool lcl_TstFlyRange( const SwPaM* pPam, const SwPosition* pFlyPos,
RndStdIds nAnchorId )
{
bool bOk = false;
@@ -1042,7 +1042,7 @@ void SwDoc::GetAllFlyFmts( SwPosFlyFrms& rPosFlyFmts,
((FLY_AS_CHAR == rAnchor.GetAnchorId()) && bAsCharAlso)))
{
if( pCmpRange &&
- !TstFlyRange( pCmpRange, pAPos, rAnchor.GetAnchorId() ))
+ !lcl_TstFlyRange( pCmpRange, pAPos, rAnchor.GetAnchorId() ))
continue; // not a valid FlyFrame
pFPos = new SwPosFlyFrm( pAPos->nNode, pFly, rPosFlyFmts.size() );
rPosFlyFmts.insert( pFPos );