summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/stgio.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source/sdstor/stgio.cxx')
-rw-r--r--sot/source/sdstor/stgio.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/stgio.cxx b/sot/source/sdstor/stgio.cxx
index 350d0d612ea8..538a3c2d517a 100644
--- a/sot/source/sdstor/stgio.cxx
+++ b/sot/source/sdstor/stgio.cxx
@@ -127,7 +127,7 @@ bool StgIo::CommitAll()
if( m_aHdr.Store( *this ) )
{
m_pStrm->Flush();
- const ErrCode n = pStrm->GetError();
+ const ErrCode n = m_pStrm->GetError();
SetError( n );
#ifdef DBG_UTIL
if( n==SVSTREAM_OK ) ValidateFATs();