summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-28 10:31:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-28 13:52:34 +0100
commitf7c4c6313dbe305d9dd2f7a0c49f436033bbf62e (patch)
treec65d1ea0a55eec6ed8af5910f17046e51fe2ce39 /sc/source
parentc67b490637b586616b46db349b1215296daa34e3 (diff)
SvxAccessibleTextIndex::mnEEIndex need not be bounded sal_uInt16
It was originally introduced with type USHORT (a909acb7009acadffa53e74ea05ddb88803490f1 "#98735# Refactored unoedit/unoedacc.cxx"), then shortly after changed to sal_Int32 (a0089a21f047ce8b5378b45f1535269e3600d681 "#98735# Fixed various off-by-one mistakes"), presumably because it needed to hold values slightly larger than USHRT_MAX. But at least since the surrounding code has been changed to use sal_Int32 throughout (e.g., structs like EPosition and ESeleciton in include/editeng/editdata.hxx with 3cbfcee36dd16e451d76c561eaaaee0ff29b01a5 "xub_StrLen and tools/string.hxx final straw"), there appears to be no more reason to effectively restrict mnEEIndex to sal_uInt16 values. Change-Id: I78f02be1f2736a626a836ac992230a74cc669fd3 Reviewed-on: https://gerrit.libreoffice.org/48766 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/source')
0 files changed, 0 insertions, 0 deletions