diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-02-02 22:16:48 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-02-03 07:44:28 +0000 |
commit | 3cbfcee36dd16e451d76c561eaaaee0ff29b01a5 (patch) | |
tree | 7377a9e1d8cd56279104429abce73aec334569d5 /include/editeng/misspellrange.hxx | |
parent | 5c39b6b997ddc85e6848efc230a427a124b97264 (diff) |
xub_StrLen and tools/string.hxx final straw
Thre is still some 0xffff limit left and possibly some
less than gracefully handled overflow/error cases
Change-Id: I00957ee3a30b02f73918ea49d7353056263dc638
Reviewed-on: https://gerrit.libreoffice.org/7787
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'include/editeng/misspellrange.hxx')
-rw-r--r-- | include/editeng/misspellrange.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/editeng/misspellrange.hxx b/include/editeng/misspellrange.hxx index 58c09356f373..2279f0f4020c 100644 --- a/include/editeng/misspellrange.hxx +++ b/include/editeng/misspellrange.hxx @@ -18,19 +18,19 @@ namespace editeng { struct EDITENG_DLLPUBLIC MisspellRange { - size_t mnStart; - size_t mnEnd; + sal_Int32 mnStart; + sal_Int32 mnEnd; MisspellRange(); - MisspellRange(size_t nStart, size_t nEnd); + MisspellRange(sal_Int32 nStart, sal_Int32 nEnd); }; struct EDITENG_DLLPUBLIC MisspellRanges { - size_t mnParagraph; + sal_Int32 mnParagraph; std::vector<MisspellRange> maRanges; - MisspellRanges(size_t nParagraph, const std::vector<MisspellRange>& rRanges); + MisspellRanges(sal_Int32 nParagraph, const std::vector<MisspellRange>& rRanges); }; } |