diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-12 20:28:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-13 09:50:11 +0000 |
commit | 3e749d7867a69ce923b1a6d30f08ec5acc0eb7eb (patch) | |
tree | a9797f6c2e283ec71e3322c2ee4fd95fa8ed6d13 | |
parent | 2a44ab09d744dd719a26f6ddab0e45473176414d (diff) |
longparas: drop STRING_MAXLEN limit in TextDoc
Change-Id: Iabe74f423c2d65bad637e56e5ab44dd808d41df1
-rw-r--r-- | vcl/source/edit/textdoc.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/vcl/source/edit/textdoc.cxx b/vcl/source/edit/textdoc.cxx index bf22b77bdc3b..afe30a87c10d 100644 --- a/vcl/source/edit/textdoc.cxx +++ b/vcl/source/edit/textdoc.cxx @@ -459,15 +459,8 @@ void TextDoc::DestroyTextNodes() OUString TextDoc::GetText( const sal_Unicode* pSep ) const { - sal_uLong nLen = GetTextLen( pSep ); sal_uLong nNodes = maTextNodes.Count(); - if ( nLen > STRING_MAXLEN ) - { - OSL_FAIL( "Text zu gross fuer String" ); - return OUString(); - } - OUString aASCIIText; sal_uLong nLastNode = nNodes-1; for ( sal_uLong nNode = 0; nNode < nNodes; nNode++ ) |