Kaydet (Commit) 564ee696 authored tarafından Noel Grandin's avatar Noel Grandin

fix SwInterHyphInfo commit again

The original commit was eb568480
"convert SwInterHyphInfo from xub_StrLen->sal_Int32"

My first attempt at fixing the commit was
a073e81c.

This is the second attempt.

Change-Id: I030c0a3107e1321006744473efe3ca3341251ad4
üst a073e81c
...@@ -144,7 +144,7 @@ public: ...@@ -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( nLength == SAL_MAX_INT32 ? SAL_MAX_INT32 : (std::min(SAL_MAX_INT32, nStartPos + nLength)) ), nEnd( nLength == SAL_MAX_INT32 ? SAL_MAX_INT32 : nStartPos + nLength ),
nWordStart(0), nWordLen(0), nWordStart(0), nWordLen(0),
nHyphPos(0), nMinTrail(0) nHyphPos(0), nMinTrail(0)
{ } { }
......
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