summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-14 13:34:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-14 15:42:31 +0200
commita6aa57ff591fdf3d834a7e0b1e9e2ebad1d87c5c (patch)
tree3de1d4767963fd78bcf6f8a90a4e2467e3a2acc5 /sot
parent546c35519125a769755330c961c7b8fc61e24d89 (diff)
use ERRCODE_NONE instead of 0
peeling off a small chunk of my ErrCode strong_int conversion Change-Id: Idc89e8496083beed7608cba705cd981139eb7111 Reviewed-on: https://gerrit.libreoffice.org/38777 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/ucbstorage.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx
index bfe31956e8f6..14675908d142 100644
--- a/sot/source/sdstor/ucbstorage.cxx
+++ b/sot/source/sdstor/ucbstorage.cxx
@@ -639,7 +639,7 @@ UCBStorageStream_Impl::UCBStorageStream_Impl( const OUString& rName, StreamMode
, m_pContent( nullptr )
, m_pStream( nullptr )
, m_nRepresentMode( RepresentMode::NONE )
- , m_nError( 0 )
+ , m_nError( ERRCODE_NONE )
, m_nMode( nMode )
, m_bSourceRead( !( nMode & StreamMode::TRUNC ) )
, m_bModified( false )
@@ -1009,7 +1009,7 @@ void UCBStorageStream_Impl::SetError( ErrCode nErr )
void UCBStorageStream_Impl::ResetError()
{
- m_nError = 0;
+ m_nError = ERRCODE_NONE;
SvStream::ResetError();
if ( m_pAntiImpl )
m_pAntiImpl->ResetError();
@@ -1470,7 +1470,7 @@ UCBStorage_Impl::UCBStorage_Impl( const ::ucbhelper::Content& rContent, const OU
, m_pTempFile( nullptr )
, m_pSource( nullptr )
//, m_pStream( NULL )
- , m_nError( 0 )
+ , m_nError( ERRCODE_NONE )
, m_nMode( nMode )
, m_bCommited( false )
, m_bDirect( bDirect )
@@ -1502,7 +1502,7 @@ UCBStorage_Impl::UCBStorage_Impl( const OUString& rName, StreamMode nMode, UCBSt
, m_pTempFile( nullptr )
, m_pSource( nullptr )
//, m_pStream( NULL )
- , m_nError( 0 )
+ , m_nError( ERRCODE_NONE )
, m_nMode( nMode )
, m_bCommited( false )
, m_bDirect( bDirect )
@@ -1553,7 +1553,7 @@ UCBStorage_Impl::UCBStorage_Impl( SvStream& rStream, UCBStorage* pStorage, bool
, m_pContent( nullptr )
, m_pTempFile( new ::utl::TempFile )
, m_pSource( &rStream )
- , m_nError( 0 )
+ , m_nError( ERRCODE_NONE )
, m_bCommited( false )
, m_bDirect( bDirect )
, m_bIsRoot( true )