Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.