summaryrefslogtreecommitdiff
path: root/include/sot/storage.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/sot/storage.hxx')
-rw-r--r--include/sot/storage.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sot/storage.hxx b/include/sot/storage.hxx
index 5f60cafd3f79..f659149d9f42 100644
--- a/include/sot/storage.hxx
+++ b/include/sot/storage.hxx
@@ -108,7 +108,7 @@ public:
ErrCode GetError() const { return ERRCODE_TOERROR(m_nError); }
void SetError( ErrCode nErrorCode )
{
- if( m_nError == SVSTREAM_OK )
+ if( m_nError == ERRCODE_NONE )
m_nError = nErrorCode;
}