[Libreoffice] [PATCH] Kill Pos_XXX in favour of osl_Pos_XXX
Michael Lefevre
lefevre00 at yahoo.fr
Wed Apr 13 13:29:00 PDT 2011
---
comphelper/source/streaming/oslfile2streamwrap.cxx | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/comphelper/source/streaming/oslfile2streamwrap.cxx b/comphelper/source/streaming/oslfile2streamwrap.cxx
index 96c7034..7ffef2d 100644
--- a/comphelper/source/streaming/oslfile2streamwrap.cxx
+++ b/comphelper/source/streaming/oslfile2streamwrap.cxx
@@ -114,7 +114,7 @@ void SAL_CALL OSLInputStreamWrapper::skipBytes(sal_Int32 nBytesToSkip) throw( st
m_pFile->getPos(nCurrentPos);
sal_uInt64 nNewPos = nCurrentPos + nBytesToSkip;
- FileBase::RC eError = m_pFile->setPos(osl_Pos_Absolut, nNewPos);
+ FileBase::RC eError = m_pFile->setPos(osl_osl_Pos_Absolut, nNewPos);
if (eError != FileBase::E_None)
{
throw stario::NotConnectedException(::rtl::OUString(), static_cast<staruno::XWeak*>(this));
@@ -149,7 +149,7 @@ sal_Int32 SAL_CALL OSLInputStreamWrapper::available() throw( stario::NotConnecte
throw stario::NotConnectedException(::rtl::OUString(),static_cast<staruno::XWeak*>(this));
nAvailable = nAvailable - nPos;
- eError = m_pFile->setPos(Pos_Absolut, nPos);
+ eError = m_pFile->setPos(osl_Pos_Absolut, nPos);
if (eError != FileBase::E_None)
throw stario::NotConnectedException(::rtl::OUString(),static_cast<staruno::XWeak*>(this));
return sal::static_int_cast< sal_Int32 >(
--
1.7.1
More information about the LibreOffice
mailing list