summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorMichael Lefevre <lefevre00@yahoo.fr>2011-04-13 22:28:59 +0200
committerThorsten Behrens <tbehrens@novell.com>2011-04-14 12:41:44 +0200
commit737740f0418361df8885e34fbb6a918f9a7e13bb (patch)
tree0e782bb8b9da71c6ad3a94546e7a44c9a4c1eff5 /ucb
parentefdf9eff81cb9214c14f719a72b769c136ed4b74 (diff)
Kill Pos_XXX in favour of osl_Pos_XXX
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/file/filinpstr.cxx2
-rw-r--r--ucb/source/ucp/file/filrec.cxx2
-rw-r--r--ucb/source/ucp/file/filstr.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/file/filinpstr.cxx b/ucb/source/ucp/file/filinpstr.cxx
index 1299b33284ae..00bb6bc5a02b 100644
--- a/ucb/source/ucp/file/filinpstr.cxx
+++ b/ucb/source/ucp/file/filinpstr.cxx
@@ -230,7 +230,7 @@ XInputStream_impl::seek(
{
if( location < 0 )
throw lang::IllegalArgumentException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX ) ), uno::Reference< uno::XInterface >(), 0 );
- if( osl::FileBase::E_None != m_aFile.setPos( Pos_Absolut, sal_uInt64( location ) ) )
+ if( osl::FileBase::E_None != m_aFile.setPos( osl_Pos_Absolut, sal_uInt64( location ) ) )
throw io::IOException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX ) ), uno::Reference< uno::XInterface >() );
}
diff --git a/ucb/source/ucp/file/filrec.cxx b/ucb/source/ucp/file/filrec.cxx
index 0986e3a738ab..712372268727 100644
--- a/ucb/source/ucp/file/filrec.cxx
+++ b/ucb/source/ucp/file/filrec.cxx
@@ -85,7 +85,7 @@ sal_Bool ReconnectingFile::reconnect()
{
::osl::FileBase::RC nRes = ::osl::FileBase::E_NETWORK;
- if ( uHow == Pos_Absolut && uPos > 0 )
+ if ( uHow == osl_Pos_Absolut && uPos > 0 )
{
if ( m_bDisconnect )
{
diff --git a/ucb/source/ucp/file/filstr.cxx b/ucb/source/ucp/file/filstr.cxx
index 6ecf53620377..93cff9c667fd 100644
--- a/ucb/source/ucp/file/filstr.cxx
+++ b/ucb/source/ucp/file/filstr.cxx
@@ -189,7 +189,7 @@ void SAL_CALL XStream_impl::truncate(void)
if (osl::FileBase::E_None != m_aFile.setSize(0))
throw io::IOException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX ) ), uno::Reference< uno::XInterface >() );
- if (osl::FileBase::E_None != m_aFile.setPos(Pos_Absolut,sal_uInt64(0)))
+ if (osl::FileBase::E_None != m_aFile.setPos(osl_Pos_Absolut,sal_uInt64(0)))
throw io::IOException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX ) ), uno::Reference< uno::XInterface >() );
}
@@ -351,7 +351,7 @@ XStream_impl::seek(
{
if( location < 0 )
throw lang::IllegalArgumentException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX ) ), uno::Reference< uno::XInterface >(), 0 );
- if( osl::FileBase::E_None != m_aFile.setPos( Pos_Absolut, sal_uInt64( location ) ) )
+ if( osl::FileBase::E_None != m_aFile.setPos( osl_Pos_Absolut, sal_uInt64( location ) ) )
throw io::IOException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX ) ), uno::Reference< uno::XInterface >() );
}