summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-12-04 11:47:58 +0200
committerNoel Grandin <noel@peralex.com>2013-12-04 11:47:58 +0200
commit564ee696c9dfe1ee39515fe69e50ecdce2a03b4e (patch)
treea6b5d55c2d5e715709efd4f45c1a6646c401572f /sw/inc
parenta073e81c3acb0c4aa3bc4fde146b6eb9869738e1 (diff)
fix SwInterHyphInfo commit again
The original commit was eb56848029a3b26a9d4f07a55364749e9e7d8339 "convert SwInterHyphInfo from xub_StrLen->sal_Int32" My first attempt at fixing the commit was a073e81c3acb0c4aa3bc4fde146b6eb9869738e1. This is the second attempt. Change-Id: I030c0a3107e1321006744473efe3ca3341251ad4
Diffstat (limited to 'sw/inc')
-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)
{ }