summaryrefslogtreecommitdiff
path: root/vcl/source/edit/textdoc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/edit/textdoc.cxx')
-rw-r--r--vcl/source/edit/textdoc.cxx7
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++ )