summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2017-06-12 22:17:18 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2017-06-13 01:55:38 +0200
commitb7f515fefbb104da08062bd158a4c32c9b2afa10 (patch)
tree78c331fb1957e294caf188ca9dcf3c33587ae5f7 /starmath
parent37d8ac12902506f4185e10f1de4f566dbaf53e42 (diff)
starmath: SvStream::ReadBytes() returns std::size_t, not sal_uLong
Change-Id: I734e653343dcc563f1eb2312e5136fa5efe0f5fa Reviewed-on: https://gerrit.libreoffice.org/38701 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/smdetect.cxx2
1 files changed, 1 insertions, 1 deletions
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;