[Libreoffice] [PATCH] Kill Pos_XXX in favour of osl_Pos_XXX
Michael Lefevre
lefevre00 at yahoo.fr
Wed Apr 13 13:43:56 PDT 2011
---
basic/source/runtime/iosys.cxx | 2 +-
xmlhelp/source/cxxhelp/provider/inputstream.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx
index ff3385a..0df3565 100644
--- a/basic/source/runtime/iosys.cxx
+++ b/basic/source/runtime/iosys.cxx
@@ -403,7 +403,7 @@ sal_uIntPtr OslStream::PutData( const void* pData, sal_uIntPtr nSize )
sal_uIntPtr OslStream::SeekPos( sal_uIntPtr nPos )
{
if( nPos == STREAM_SEEK_TO_END )
- maFile.setPos( Pos_End, 0 );
+ maFile.setPos( osl_Pos_End, 0 );
else
maFile.setPos( osl_Pos_Absolut, (sal_uInt64)nPos );
sal_uInt64 nRealPos(0);
diff --git a/xmlhelp/source/cxxhelp/provider/inputstream.cxx b/xmlhelp/source/cxxhelp/provider/inputstream.cxx
index f176762..fd2ec40 100644
--- a/xmlhelp/source/cxxhelp/provider/inputstream.cxx
+++ b/xmlhelp/source/cxxhelp/provider/inputstream.cxx
@@ -208,7 +208,7 @@ XInputStream_impl::getLength(
if( err != osl::FileBase::E_None )
throw io::IOException();
- err = m_aFile.setPos( Pos_End, 0 );
+ err = m_aFile.setPos( osl_Pos_End, 0 );
if( err != osl::FileBase::E_None )
throw io::IOException();
--
1.7.1
More information about the LibreOffice
mailing list