fix SwInterHyphInfo commit

fix for commit eb56848029a3b26a9d4f07a55364749e9e7d8339
"convert SwInterHyphInfo from xub_StrLen->sal_Int32"

Change-Id: I197edf7d5558cd44200f8f04ba29f028fba25639
This commit is contained in:
Noel Grandin 2013-12-04 11:28:44 +02:00
parent b273106226
commit a073e81c3a

View File

@ -144,7 +144,7 @@ public:
: aCrsrPos( rCrsrPos ), : aCrsrPos( rCrsrPos ),
bNoLang(sal_False), bCheck(sal_False), bNoLang(sal_False), bCheck(sal_False),
nStart(nStartPos), nStart(nStartPos),
nEnd( std::max(SAL_MAX_INT32, nStartPos + nLength) ), nEnd( nLength == SAL_MAX_INT32 ? SAL_MAX_INT32 : (std::min(SAL_MAX_INT32, nStartPos + nLength)) ),
nWordStart(0), nWordLen(0), nWordStart(0), nWordLen(0),
nHyphPos(0), nMinTrail(0) nHyphPos(0), nMinTrail(0)
{ } { }