summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docsort.cxx
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/source/core/doc/docsort.cxx
parent21dd191b9fd5a75f7633ea27f745a347adb42ae3 (diff)
Cleanup: remove _FndBoxPtr typedef
Change-Id: I6e794589b22698b411f5b74d56eeaabb760305d8
Diffstat (limited to 'sw/source/core/doc/docsort.cxx')
-rw-r--r--sw/source/core/doc/docsort.cxx4
1 files changed, 2 insertions, 2 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 );