editeng/source/editeng/impedit2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 9374008fcceb521a9f81466b39b32ee13c7def49 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Fri Mar 28 14:41:32 2025 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Tue Apr 1 13:06:32 2025 +0200 tdf#165811 calc mouse select sometimes off by one char regression from commit 11b15571475414ef853e21a6c96afa2ac81f848f Author: Noel Grandin <noel.gran...@collabora.co.uk> Date: Wed Oct 30 09:51:26 2024 +0200 convert KernArray from sal_Int32 to double Change-Id: I9266693fa8d449c3369b65c31fbb4a3d3182777f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183452 Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> Tested-by: Jenkins (cherry picked from commit 0afe740800a5a2a4bc2041fa602b11dc31a4a4e1) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183476 Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx index 9214e79ded13..5b8abb8f2461 100644 --- a/editeng/source/editeng/impedit2.cxx +++ b/editeng/source/editeng/impedit2.cxx @@ -4108,7 +4108,7 @@ sal_Int32 ImpEditEngine::GetChar(ParaPortion const& rParaPortion, EditLine const // they belong to the same character, we can not use this position as an index. // Skip all 0-positions, cheaper than using XBreakIterator: tools::Long nX = rLine.GetCharPosArray()[nTmpCurIndex + x]; - while(x < nMax && rLine.GetCharPosArray()[nTmpCurIndex + x] == nX) + while(x < nMax && static_cast<tools::Long>(rLine.GetCharPosArray()[nTmpCurIndex + x]) == nX) ++x; } nOffset = x;