longparas: drop STRING_MAXLEN limit in TextDoc
Change-Id: Iabe74f423c2d65bad637e56e5ab44dd808d41df1
This commit is contained in:
@@ -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++ )
|
||||
|
Reference in New Issue
Block a user