summaryrefslogtreecommitdiff
path: root/editeng/source/misc/unolingu.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/misc/unolingu.cxx')
-rw-r--r--editeng/source/misc/unolingu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx
index e306551ee4d5..c87953bd37d0 100644
--- a/editeng/source/misc/unolingu.cxx
+++ b/editeng/source/misc/unolingu.cxx
@@ -703,7 +703,7 @@ SvxAlternativeSpelling SvxGetAltSpelling(
++nR;
aRes.aReplacement = aAltWord.copy( nL, nAltLen - nL - nR );
- aRes.nChangedPos = (sal_Int16) nL;
+ aRes.nChangedPos = nL;
aRes.nChangedLength = nLen - nL - nR;
aRes.bIsAltSpelling = true;
aRes.xHyphWord = rHyphWord;