summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/inc/splargs.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/splargs.hxx b/sw/inc/splargs.hxx
index 9b56a218e248..fae40a169136 100644
--- a/sw/inc/splargs.hxx
+++ b/sw/inc/splargs.hxx
@@ -144,7 +144,7 @@ public:
: aCrsrPos( rCrsrPos ),
bNoLang(sal_False), bCheck(sal_False),
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),
nHyphPos(0), nMinTrail(0)
{ }