starmath/source/smdetect.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b7f515fefbb104da08062bd158a4c32c9b2afa10 Author: Takeshi Abe <[email protected]> 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 <[email protected]> Reviewed-by: Takeshi Abe <[email protected]> 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; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
