diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-04-25 11:54:41 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-04-25 12:35:31 +0200 |
commit | 07f4021c9a22f5acc91d362b796ee6f16b6fe3aa (patch) | |
tree | 0bd47e5da75f1a87b0bfecfab5edf1d76d28fa5a /sw/source/core/doc/gctable.cxx | |
parent | 1df74354d65f9ff5236a80fefebebcec64e7980f (diff) |
move some functions from tblrwcl.hxx into cxx files
Diffstat (limited to 'sw/source/core/doc/gctable.cxx')
-rw-r--r-- | sw/source/core/doc/gctable.cxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sw/source/core/doc/gctable.cxx b/sw/source/core/doc/gctable.cxx index 4764f94975b1..d61151cf26f9 100644 --- a/sw/source/core/doc/gctable.cxx +++ b/sw/source/core/doc/gctable.cxx @@ -336,7 +336,9 @@ struct _GCLinePara {} }; -sal_Bool lcl_MergeGCBox( const SwTableBox*& rpTblBox, void* pPara ) +static bool lcl_MergeGCLine(const SwTableLine*& rpLine, void*const pPara); + +static bool lcl_MergeGCBox(const SwTableBox*& rpTblBox, void*const pPara) { SwTableBox*& rpBox = (SwTableBox*&)rpTblBox; sal_uInt16 n, nLen = rpBox->GetTabLines().Count(); @@ -364,13 +366,13 @@ sal_Bool lcl_MergeGCBox( const SwTableBox*& rpTblBox, void* pPara ) // Delete the old Box with the Line pInsLine->GetTabBoxes().DeleteAndDestroy( nInsPos ); - return sal_False; // set up anew + return false; // set up anew } } - return sal_True; + return true; } -sal_Bool lcl_MergeGCLine( const SwTableLine*& rpLine, void* pPara ) +static bool lcl_MergeGCLine(const SwTableLine*& rpLine, void *const pPara) { SwTableLine* pLn = (SwTableLine*)rpLine; sal_uInt16 nLen = pLn->GetTabBoxes().Count(); @@ -431,7 +433,7 @@ sal_Bool lcl_MergeGCLine( const SwTableLine*& rpLine, void* pPara ) if( !lcl_MergeGCBox( *(pLn->GetTabBoxes().GetData() + nLen ), pPara )) --nLen; } - return sal_True; + return true; } // Clean structure a bit |