diff options
author | Vasily Melenchuk <vasily.melenchuk@cib.de> | 2015-04-06 12:23:09 +0300 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-05-03 23:23:00 +0200 |
commit | bc9d02b0ca6244b46c9e2c59b7cc3618eb0f0148 (patch) | |
tree | 21e5b9f00dd0e3f75fee093748a41cebc6a9f38e /sw/source/core/docnode/ndsect.cxx | |
parent | f7bed502ff0dc43f5a24f8e35c5573bdd76eed65 (diff) |
tdf#89783: sal_uInt16 replacement by size_t: sections
These replacements allow LO to load, save and mail merge documents having
more than 65536 sections in total.
Change-Id: I0e70889b1edc6e472a39f1f2638ac3c70a0d7058
Signed-off-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'sw/source/core/docnode/ndsect.cxx')
-rw-r--r-- | sw/source/core/docnode/ndsect.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/docnode/ndsect.cxx b/sw/source/core/docnode/ndsect.cxx index 1504807630ca..9bb5888dad8d 100644 --- a/sw/source/core/docnode/ndsect.cxx +++ b/sw/source/core/docnode/ndsect.cxx @@ -606,8 +606,8 @@ void SwDoc::DelSectionFmt( SwSectionFmt *pFmt, bool bDelNodes ) getIDocumentState().SetModified(); } -void SwDoc::UpdateSection(sal_uInt16 const nPos, SwSectionData & rNewData, - SfxItemSet const*const pAttr, bool const bPreventLinkUpdate) +void SwDoc::UpdateSection( size_t const nPos, SwSectionData & rNewData, + SfxItemSet const*const pAttr, bool const bPreventLinkUpdate ) { SwSectionFmt* pFmt = (*mpSectionFmtTbl)[ nPos ]; SwSection* pSection = pFmt->GetSection(); |