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, 2 insertions, 0 deletions
diff --git a/sot/source/sdstor/stgio.cxx b/sot/source/sdstor/stgio.cxx
index 1d5a1191d888..526f0f357f32 100644
--- a/sot/source/sdstor/stgio.cxx
+++ b/sot/source/sdstor/stgio.cxx
@@ -67,10 +67,12 @@ BOOL StgIo::Load()
if( pStrm )
{
if( aHdr.Load( *this ) )
+ {
if( aHdr.Check() )
SetupStreams();
else
return FALSE;
+ }
}
return Good();
}