Kaydet (Commit) 463ba7b4 authored tarafından Caolán McNamara's avatar Caolán McNamara

CID#1103727 the intent is surely to compare nPos, nStart cannot be -1

Change-Id: I27a6622f45ec3fdbb9153e1dcb1114c5dc71e884
üst b1caf176
...@@ -164,7 +164,7 @@ OUString SvxHyphenWordDialog::EraseUnusableHyphens_Impl( ...@@ -164,7 +164,7 @@ OUString SvxHyphenWordDialog::EraseUnusableHyphens_Impl(
// find corresponding hyphen pos in string // find corresponding hyphen pos in string
nPos = aTxt.indexOf( sal_Unicode( HYPH_POS_CHAR ), nStart ); nPos = aTxt.indexOf( sal_Unicode( HYPH_POS_CHAR ), nStart );
if (nStart == -1) if (nPos == -1)
break; break;
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment