diff options
Diffstat (limited to 'sc/source/filter/qpro/qpro.cxx')
-rw-r--r-- | sc/source/filter/qpro/qpro.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/qpro/qpro.cxx b/sc/source/filter/qpro/qpro.cxx index 2cf780751233..153c693be79d 100644 --- a/sc/source/filter/qpro/qpro.cxx +++ b/sc/source/filter/qpro/qpro.cxx @@ -224,7 +224,7 @@ bool ScQProReader::nextRecord() void ScQProReader::readString( OUString &rString, sal_uInt16 nLength ) { std::unique_ptr<sal_Char[]> pText(new sal_Char[ nLength + 1 ]); - nLength = mpStream->Read(pText.get(), nLength); + nLength = mpStream->ReadBytes(pText.get(), nLength); pText[ nLength ] = 0; rString = OUString( pText.get(), strlen(pText.get()), mpStream->GetStreamCharSet() ); } |