diff options
Diffstat (limited to 'sot/source/sdstor/stgcache.cxx')
-rw-r--r-- | sot/source/sdstor/stgcache.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/stgcache.cxx b/sot/source/sdstor/stgcache.cxx index 55f91f12bbb2..2ee2c28ede39 100644 --- a/sot/source/sdstor/stgcache.cxx +++ b/sot/source/sdstor/stgcache.cxx @@ -274,7 +274,7 @@ void StgCache::SetStrm( UCBStorageStream* pStgStream ) void StgCache::SetDirty( const rtl::Reference< StgPage > &rPage ) { - assert( IsWritable() ); + assert( m_pStrm && m_pStrm->IsWritable() ); maDirtyPages[ rPage->GetPage() ] = rPage; } |