Kaydet (Commit) 2a2d04df authored tarafından Eike Rathke's avatar Eike Rathke

one more lcl_appendLineData() for line size >64k

Though this specific piece of code is not used in CSV import it may act on
long lines now.
üst 40775ce1
...@@ -634,7 +634,13 @@ static const sal_Unicode* lcl_ScanString( const sal_Unicode* p, String& rString, ...@@ -634,7 +634,13 @@ static const sal_Unicode* lcl_ScanString( const sal_Unicode* p, String& rString,
break; break;
case DQM_CONCAT : case DQM_CONCAT :
if ( p0+1 < p ) if ( p0+1 < p )
rString.Append( p0, sal::static_int_cast<xub_StrLen>( (p-1) - p0 ) ); // first part {
// first part
if (!lcl_appendLineData( rString, p0, p-1))
{
/* TODO: warning at UI, data truncated */
}
}
p0 = ++p; // text of next part starts here p0 = ++p; // text of next part starts here
break; break;
case DQM_SEPARATE : case DQM_SEPARATE :
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment