diff options
Diffstat (limited to 'tools/source/stream/stream.cxx')
-rw-r--r-- | tools/source/stream/stream.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx index a91e6bf16341..871d8f69b5ac 100644 --- a/tools/source/stream/stream.cxx +++ b/tools/source/stream/stream.cxx @@ -373,7 +373,7 @@ void SvStream::ClearError() m_nError = ERRCODE_NONE; } -void SvStream::SetError( sal_uInt32 nErrorCode ) +void SvStream::SetError( ErrCode nErrorCode ) { if (m_nError == ERRCODE_NONE) m_nError = nErrorCode; @@ -1552,7 +1552,7 @@ bool SvStream::SetStreamSize(sal_uInt64 const nSize) #ifdef DBG_UTIL DBG_ASSERT(Tell()==nFPos,"SetStreamSize failed"); #endif - return (m_nError == 0); + return (m_nError == ERRCODE_NONE); } SvStream& endl( SvStream& rStr ) |