diff options
Diffstat (limited to 'ucb/source/ucp/file/filstr.cxx')
-rwxr-xr-x[-rw-r--r--] | ucb/source/ucp/file/filstr.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/ucb/source/ucp/file/filstr.cxx b/ucb/source/ucp/file/filstr.cxx index 2e45e22b790b..63b8fd46b140 100644..100755 --- a/ucb/source/ucp/file/filstr.cxx +++ b/ucb/source/ucp/file/filstr.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -109,9 +110,9 @@ XStream_impl::XStream_impl( shell* pMyShell,const rtl::OUString& aUncPath, sal_B m_nErrorCode( TASKHANDLER_NO_ERROR ), m_nMinorErrorCode( TASKHANDLER_NO_ERROR ) { - sal_uInt32 nFlags = ( OpenFlag_Read | OpenFlag_Write ); + sal_uInt32 nFlags = ( osl_File_OpenFlag_Read | osl_File_OpenFlag_Write ); if ( !bLock ) - nFlags |= OpenFlag_NoLock; + nFlags |= osl_File_OpenFlag_NoLock; osl::FileBase::RC err = m_aFile.open( nFlags ); if( err != osl::FileBase::E_None ) @@ -302,8 +303,8 @@ XStream_impl::closeStream( if( err != osl::FileBase::E_None ) { io::IOException ex; - ex.Message = rtl::OUString::createFromAscii( - "could not close file"); + ex.Message = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( + "could not close file")); throw ex; } @@ -402,3 +403,5 @@ void XStream_impl::waitForCompletion() static_cast< OWeakObject * >(this)); } } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |