[Libreoffice-commits] .: 2 commits - comphelper/source

Thorsten Behrens thorsten at kemper.freedesktop.org
Thu Apr 14 03:50:21 PDT 2011


 comphelper/source/streaming/oslfile2streamwrap.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 4de1f399971cf9816310bab964d6e16f0b48b24e
Author: Michael Lefevre <lefevre00 at yahoo.fr>
Date:   Wed Apr 13 22:43:57 2011 +0200

    Kill Pos_XXX in favour of osl_Pos_XXX

diff --git a/comphelper/source/streaming/oslfile2streamwrap.cxx b/comphelper/source/streaming/oslfile2streamwrap.cxx
index 7ffef2d..4351e7b 100644
--- a/comphelper/source/streaming/oslfile2streamwrap.cxx
+++ b/comphelper/source/streaming/oslfile2streamwrap.cxx
@@ -139,7 +139,7 @@ sal_Int32 SAL_CALL OSLInputStreamWrapper::available() throw( stario::NotConnecte
         throw stario::NotConnectedException(::rtl::OUString(), static_cast<staruno::XWeak*>(this));
 
     sal_uInt64 nDummy = 0;
-    eError = m_pFile->setPos(Pos_End, nDummy);
+    eError = m_pFile->setPos(osl_Pos_End, nDummy);
     if (eError != FileBase::E_None)
        throw stario::NotConnectedException(::rtl::OUString(),static_cast<staruno::XWeak*>(this));
 
commit 6881a93feac70eaa72e773511f59f86b470006d5
Author: Michael Lefevre <lefevre00 at yahoo.fr>
Date:   Wed Apr 13 22:29:00 2011 +0200

    Kill Pos_XXX in favour of osl_Pos_XXX

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 >(


More information about the Libreoffice-commits mailing list