summaryrefslogtreecommitdiff
path: root/sw/source/core/tox
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2015-05-13 09:54:50 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2015-05-18 13:54:12 +0200
commit3ccacb47faa625563f8bf0af8d4c62c1eea6ce7c (patch)
tree1fdf122a4dba1f212fed3e2b2fa9c84ab798c951 /sw/source/core/tox
parentdcce3f7fd50b05593e77d7ff43735c5694e9422b (diff)
tdf#89783: Allow more than 64k PageDescs
+ adjust related code using the functionality Change-Id: I6fa4ad04137643009ee39522c36d6c9e6f3d2502
Diffstat (limited to 'sw/source/core/tox')
-rw-r--r--sw/source/core/tox/ToxTabStopTokenHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/tox/ToxTabStopTokenHandler.cxx b/sw/source/core/tox/ToxTabStopTokenHandler.cxx
index 462adbfa483d..67fd69bc66aa 100644
--- a/sw/source/core/tox/ToxTabStopTokenHandler.cxx
+++ b/sw/source/core/tox/ToxTabStopTokenHandler.cxx
@@ -83,7 +83,7 @@ DefaultToxTabStopTokenHandler::HandleTabStopToken(
long
DefaultToxTabStopTokenHandler::CalculatePageMarginFromPageDescription(const SwTxtNode& targetNode) const
{
- sal_uInt32 nPgDescNdIdx = targetNode.GetIndex() + 1;
+ size_t nPgDescNdIdx = targetNode.GetIndex() + 1;
const SwPageDesc *pPageDesc = targetNode.FindPageDesc(false, &nPgDescNdIdx);
if (!pPageDesc || nPgDescNdIdx < mIndexOfSectionNode) {
// Use default page description, if none is found or the found one is given by a Node before the