diff options
author | Noel Grandin <noel@peralex.com> | 2012-06-18 18:04:44 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-20 19:46:40 +0200 |
commit | d69fdd1ed634be8426f9ff80f9411187da29f00a (patch) | |
tree | 2d16935eccaab7779929f9d4d1b12a07a888733b /sw/source/core/inc/tblrwcl.hxx | |
parent | 05d46a4a5afc447ece8e4297b1a9b8e9e9b99b90 (diff) |
Convert SV_DECL_PTRARR_DEL(SwTableLines) to std::vector
Along the way, simplify a lot of the ForEach callback methods.
Change-Id: I54bc87c1060f1d73470ca8b7fd645ffa23059606
Diffstat (limited to 'sw/source/core/inc/tblrwcl.hxx')
-rw-r--r-- | sw/source/core/inc/tblrwcl.hxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/sw/source/core/inc/tblrwcl.hxx b/sw/source/core/inc/tblrwcl.hxx index 54eadef3d2c9..a7884e1d0d4c 100644 --- a/sw/source/core/inc/tblrwcl.hxx +++ b/sw/source/core/inc/tblrwcl.hxx @@ -48,7 +48,7 @@ class SwFmtFrmSize; struct _CpyPara; struct _InsULPara; -sal_Bool lcl_LineSetHeadCondColl( const SwTableLine*& rpLine, void* pPara ); +void lcl_LineSetHeadCondColl( const SwTableLine* pLine ); #ifdef DBG_UTIL @@ -133,7 +133,7 @@ struct _SwGCLineBorder _SwGCLineBorder( const SwTableBox& rBox ) : pLines( &rBox.GetTabLines() ), pShareFmts(0), nLinePos( 0 ) {} - sal_Bool IsLastLine() const { return nLinePos + 1 >= pLines->Count(); } + sal_Bool IsLastLine() const { return nLinePos + 1 >= (sal_uInt16)pLines->size(); } }; class _SwGCBorder_BoxBrd @@ -153,12 +153,7 @@ public: sal_Bool IsAnyBorderFound() const { return bAnyBorderFnd; } }; -sal_Bool lcl_GC_Line_Border( const SwTableLine*& , void* pPara ); - -sal_Bool lcl_GCBorder_ChkBoxBrd_L( const SwTableLine*& , void* pPara ); -sal_Bool lcl_GCBorder_ChkBoxBrd_B( const SwTableBox*& , void* pPara ); - -sal_Bool lcl_GCBorder_GetLastBox_L( const SwTableLine*& , void* pPara ); +void lcl_GC_Line_Border( const SwTableLine* pLine, _SwGCLineBorder* pGCPara ); class SwShareBoxFmt |