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 f659149d9f42..2aa3ac0131d8 100644
--- a/include/sot/storage.hxx
+++ b/include/sot/storage.hxx
@@ -105,7 +105,7 @@ public:
return m_nVersion;
}
- ErrCode GetError() const { return ERRCODE_TOERROR(m_nError); }
+ ErrCode GetError() const { return m_nError.IgnoreWarning(); }
void SetError( ErrCode nErrorCode )
{
if( m_nError == ERRCODE_NONE )