Kill Pos_XXX in favour of osl_Pos_XXX

This commit is contained in:
Michael Lefevre 2011-04-13 22:29:00 +02:00 committed by Thorsten Behrens
parent 33b3150275
commit 1caa3ccec5

View file

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