summaryrefslogtreecommitdiff
path: root/sw/source/filter/ascii
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-14 16:50:42 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-15 13:26:08 +0000
commitba27366f3d6bc6b209ecd5c5cb79a9ee5315316a (patch)
tree2eeccfea7113977254b962c64c1b126d1ee5d6eb /sw/source/filter/ascii
parent472285e742db5fed6d901162076d42c7d7c175af (diff)
Resolves: #i17171# Writer paragraph cannot be longer than 65534 characters
Change-Id: I2052ae96571cba8fe2191dff53b1c61c95c94c60
Diffstat (limited to 'sw/source/filter/ascii')
-rw-r--r--sw/source/filter/ascii/ascatr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ascii/ascatr.cxx b/sw/source/filter/ascii/ascatr.cxx
index df303893dc83..23719cd01f40 100644
--- a/sw/source/filter/ascii/ascatr.cxx
+++ b/sw/source/filter/ascii/ascatr.cxx
@@ -102,13 +102,13 @@ sal_Int32 SwASC_AttrIter::SearchNext( sal_Int32 nStartPos )
}
else if ( pHt->HasContent() )
{
- const xub_StrLen nHintStart = *pHt->GetStart();
+ const sal_Int32 nHintStart = *pHt->GetStart();
if ( nHintStart >= nStartPos && nHintStart <= nMinPos )
{
nMinPos = nHintStart;
}
- const xub_StrLen nHintEnd = pHt->End() ? *pHt->End() : STRING_MAXLEN;
+ const sal_Int32 nHintEnd = pHt->End() ? *pHt->End() : COMPLETE_STRING;
if ( nHintEnd >= nStartPos && nHintEnd < nMinPos )
{
nMinPos = nHintEnd;