summaryrefslogtreecommitdiff
path: root/comphelper/source/streaming/oslfile2streamwrap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/streaming/oslfile2streamwrap.cxx')
-rw-r--r--comphelper/source/streaming/oslfile2streamwrap.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/comphelper/source/streaming/oslfile2streamwrap.cxx b/comphelper/source/streaming/oslfile2streamwrap.cxx
index 888e0134f799..8a97e038e89e 100644
--- a/comphelper/source/streaming/oslfile2streamwrap.cxx
+++ b/comphelper/source/streaming/oslfile2streamwrap.cxx
@@ -107,8 +107,7 @@ sal_Int32 SAL_CALL OSLInputStreamWrapper::available()
if (eError != FileBase::E_None)
throw css::io::NotConnectedException(OUString(), static_cast<css::uno::XWeak*>(this));
- sal_uInt64 nDummy = 0;
- eError = m_pFile->setPos(osl_Pos_End, nDummy);
+ eError = m_pFile->setPos(osl_Pos_End, 0);
if (eError != FileBase::E_None)
throw css::io::NotConnectedException(OUString(),static_cast<css::uno::XWeak*>(this));