fix QPro import filter, related #i41688#
We desperately need a test document for this format. Change-Id: Ifd8e35bb3330c2b9d2443a3a0f18209001a4bdff
This commit is contained in:
committed by
Markus Mohrhard
parent
a0e3e985cd
commit
f759239d7d
@@ -226,7 +226,7 @@ void ScQProReader::readString( OUString &rString, sal_uInt16 nLength )
|
|||||||
sal_Char* pText = new sal_Char[ nLength + 1 ];
|
sal_Char* pText = new sal_Char[ nLength + 1 ];
|
||||||
mpStream->Read( pText, nLength );
|
mpStream->Read( pText, nLength );
|
||||||
pText[ nLength ] = 0;
|
pText[ nLength ] = 0;
|
||||||
rString = OUString( pText, nLength, mpStream->GetStreamCharSet() );
|
rString = OUString( pText, std::strlen(pText), mpStream->GetStreamCharSet() );
|
||||||
delete [] pText;
|
delete [] pText;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user