diff options
author | Noel Grandin <noel@peralex.com> | 2012-04-25 11:55:01 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-04-25 12:35:32 +0200 |
commit | d93db90e19923b524d4c6f9cdfe0544f1dc46d22 (patch) | |
tree | 4cdfad75c392d2adbce1e4685a8b7093bd4b0375 /sw/inc | |
parent | 07f4021c9a22f5acc91d362b796ee6f16b6fe3aa (diff) |
Convert SV_DECL_PTRARR_DEL(SwChartLines) to boost::ptr_vector
Had to use a class for the typedef declaration because the data
structure is referenced in other header files.
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/swtable.hxx | 1 | ||||
-rw-r--r-- | sw/inc/tblsel.hxx | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/swtable.hxx b/sw/inc/swtable.hxx index 6473986640d2..24fb1990b99f 100644 --- a/sw/inc/swtable.hxx +++ b/sw/inc/swtable.hxx @@ -53,6 +53,7 @@ class SwTabCols; class SwDoc; class SwSelBoxes; class SwTblCalcPara; +class SwChartBoxes; class SwChartLines; struct SwPosition; class SwNodeIndex; diff --git a/sw/inc/tblsel.hxx b/sw/inc/tblsel.hxx index d5ec8313a57b..25d5d8e87b87 100644 --- a/sw/inc/tblsel.hxx +++ b/sw/inc/tblsel.hxx @@ -131,7 +131,7 @@ sal_Bool HasProtectedCells( const SwSelBoxes& rBoxes ); // Check if selection is balanced. SV_DECL_PTRARR( SwChartBoxes, SwTableBoxPtr, 16) -SV_DECL_PTRARR_DEL( SwChartLines, SwChartBoxes*, 25 ) +class SwChartLines : public boost::ptr_vector<SwChartBoxes> {}; sal_Bool ChkChartSel( const SwNode& rSttNd, const SwNode& rEndNd, SwChartLines* pGetCLines = 0 ); |