[Libreoffice-commits] core.git: starmath/source
Takeshi Abe
tabe at fixedpoint.jp
Mon Jun 12 23:56:00 UTC 2017
starmath/source/smdetect.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b7f515fefbb104da08062bd158a4c32c9b2afa10
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Mon Jun 12 22:17:18 2017 +0900
starmath: SvStream::ReadBytes() returns std::size_t, not sal_uLong
Change-Id: I734e653343dcc563f1eb2312e5136fa5efe0f5fa
Reviewed-on: https://gerrit.libreoffice.org/38701
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Takeshi Abe <tabe at fixedpoint.jp>
diff --git a/starmath/source/smdetect.cxx b/starmath/source/smdetect.cxx
index 55283530e86a..059d3b325050 100644
--- a/starmath/source/smdetect.cxx
+++ b/starmath/source/smdetect.cxx
@@ -96,7 +96,7 @@ OUString SAL_CALL SmFilterDetect::detect( Sequence< PropertyValue >& lDescriptor
aBuffer[nBufferSize] = 0;
pInStrm->Seek( STREAM_SEEK_TO_BEGIN );
pInStrm->StartReadingUnicodeText( RTL_TEXTENCODING_DONTKNOW ); // avoid BOM marker
- sal_uLong nBytesRead = pInStrm->ReadBytes( aBuffer, nBufferSize );
+ auto nBytesRead = pInStrm->ReadBytes( aBuffer, nBufferSize );
if (nBytesRead >= 6)
{
bool bIsMathType = false;
More information about the Libreoffice-commits
mailing list