diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 16:49:40 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 16:56:54 +0200 |
commit | 21d10c6f3266d4fac9c91f9d0fab529a6841b39e (patch) | |
tree | d4436c5d48e16d81518906f5337bd16ae1dec823 /sw/source/core/doc/gctable.cxx | |
parent | 908794d36f489c60835bfa8a17ac6bd9c256c7df (diff) |
mark lcl_ functions static or rename them if they are not local at all
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html
Change-Id: I21e12d6a4dfb9697d2346a4e564e96af0ad03f96
Diffstat (limited to 'sw/source/core/doc/gctable.cxx')
-rw-r--r-- | sw/source/core/doc/gctable.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/core/doc/gctable.cxx b/sw/source/core/doc/gctable.cxx index 6581000483f7..a039c706833a 100644 --- a/sw/source/core/doc/gctable.cxx +++ b/sw/source/core/doc/gctable.cxx @@ -103,7 +103,7 @@ static void lcl_GCBorder_GetLastBox_B( const SwTableBox* pBox, SwTableBoxes* pPa } // Find the "end" of the passed BorderLine. Returns the "Layout"Pos! -sal_uInt16 lcl_FindEndPosOfBorder( const SwCollectTblLineBoxes& rCollTLB, +static sal_uInt16 lcl_FindEndPosOfBorder( const SwCollectTblLineBoxes& rCollTLB, const SvxBorderLine& rBrdLn, sal_uInt16& rStt, sal_Bool bTop ) { sal_uInt16 nPos, nLastPos = 0; @@ -122,7 +122,7 @@ sal_uInt16 lcl_FindEndPosOfBorder( const SwCollectTblLineBoxes& rCollTLB, return nLastPos; } -inline const SvxBorderLine* lcl_GCBorder_GetBorder( const SwTableBox& rBox, +static inline const SvxBorderLine* lcl_GCBorder_GetBorder( const SwTableBox& rBox, sal_Bool bTop, const SfxPoolItem** ppItem ) { @@ -131,7 +131,7 @@ inline const SvxBorderLine* lcl_GCBorder_GetBorder( const SwTableBox& rBox, : 0; } -void lcl_GCBorder_DelBorder( const SwCollectTblLineBoxes& rCollTLB, +static void lcl_GCBorder_DelBorder( const SwCollectTblLineBoxes& rCollTLB, sal_uInt16& rStt, sal_Bool bTop, const SvxBorderLine& rLine, const SfxPoolItem* pItem, @@ -171,7 +171,7 @@ void lcl_GCBorder_DelBorder( const SwCollectTblLineBoxes& rCollTLB, static void lcl_GC_Box_Border( const SwTableBox* pBox, _SwGCLineBorder* pPara ); -void lcl_GC_Line_Border( const SwTableLine* pLine, _SwGCLineBorder* pGCPara ) +void sw_GC_Line_Border( const SwTableLine* pLine, _SwGCLineBorder* pGCPara ) { // First the right edge with the left edge of the succeeding Box within this Line { @@ -220,10 +220,10 @@ void lcl_GC_Line_Border( const SwTableLine* pLine, _SwGCLineBorder* pGCPara ) SwCollectTblLineBoxes aBottom( sal_False ); SwCollectTblLineBoxes aTop( sal_True ); - ::lcl_Line_CollectBox( pLine, &aBottom ); + sw_Line_CollectBox( pLine, &aBottom ); const SwTableLine* pNextLine = (*pGCPara->pLines)[ pGCPara->nLinePos+1 ]; - ::lcl_Line_CollectBox( pNextLine, &aTop ); + sw_Line_CollectBox( pNextLine, &aTop ); // remove all "duplicated" Lines that are the same sal_uInt16 nBtmPos, nTopPos, @@ -322,7 +322,7 @@ static void lcl_GC_Box_Border( const SwTableBox* pBox, _SwGCLineBorder* pPara ) _SwGCLineBorder aPara( *pBox ); aPara.pShareFmts = pPara->pShareFmts; BOOST_FOREACH( const SwTableLine* pLine, pBox->GetTabLines() ) - lcl_GC_Line_Border( pLine, &aPara ); + sw_GC_Line_Border( pLine, &aPara ); } } |