summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/stgdir.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source/sdstor/stgdir.cxx')
-rw-r--r--sot/source/sdstor/stgdir.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sot/source/sdstor/stgdir.cxx b/sot/source/sdstor/stgdir.cxx
index 83c3f69f62fc..df077cf1d911 100644
--- a/sot/source/sdstor/stgdir.cxx
+++ b/sot/source/sdstor/stgdir.cxx
@@ -181,9 +181,8 @@ bool StgDirEntry::Store( StgDirStrm& rStrm )
if( m_pRight )
if( !static_cast<StgDirEntry*>(m_pRight)->Store( rStrm ) )
return false;
- if( m_pDown )
- if( !m_pDown->Store( rStrm ) )
- return false;
+ if( m_pDown && !m_pDown->Store( rStrm ) )
+ return false;
return true;
}