summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-07-13 15:21:41 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-17 15:33:35 +0200
commitb6d0e8ab15086ec25bb4d42650024711ef4de2a8 (patch)
tree363773a120f1b16be1ca628b45b42cebea7122ce /sw
parent21dd191b9fd5a75f7633ea27f745a347adb42ae3 (diff)
Cleanup: remove _FndBoxPtr typedef
Change-Id: I6e794589b22698b411f5b74d56eeaabb760305d8
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/docsort.cxx4
-rw-r--r--sw/source/core/inc/docsort.hxx3
2 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/core/doc/docsort.cxx b/sw/source/core/doc/docsort.cxx
index f9ce363821a3..5f2ce443c5e2 100644
--- a/sw/source/core/doc/docsort.cxx
+++ b/sw/source/core/doc/docsort.cxx
@@ -777,9 +777,9 @@ FlatFndBox::FlatFndBox(SwDoc* pDocPtr, const _FndBox& rBox) :
nRows = GetRowCount(rBoxRef);
// Create linear array
- pArr = new _FndBoxPtr[ nRows * nCols ];
+ pArr = new const _FndBox*[ nRows * nCols ];
_FndBox** ppTmp = (_FndBox**)pArr;
- memset( ppTmp, 0, sizeof(_FndBoxPtr) * nRows * nCols );
+ memset( ppTmp, 0, sizeof(const _FndBox*) * nRows * nCols );
FillFlat( rBoxRef );
diff --git a/sw/source/core/inc/docsort.hxx b/sw/source/core/inc/docsort.hxx
index 678ebee4d38e..4254f629997b 100644
--- a/sw/source/core/inc/docsort.hxx
+++ b/sw/source/core/inc/docsort.hxx
@@ -55,7 +55,6 @@ namespace com {
}
// List of all sorted elements
-typedef const _FndBox* _FndBoxPtr;
typedef SwSortElement* SwSortElementPtr;
SV_DECL_PTRARR_SORT(SwSortElements, SwSortElementPtr, 0)
@@ -148,7 +147,7 @@ private:
SwDoc* pDoc;
const _FndBox& rBoxRef;
- _FndBoxPtr* pArr;
+ const _FndBox** pArr;
SfxItemSet** ppItemSets;
sal_uInt16 nRows;