summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/stg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/stg.cxx b/sot/source/sdstor/stg.cxx
index 4606aa1743d3..2fcf0d58c619 100644
--- a/sot/source/sdstor/stg.cxx
+++ b/sot/source/sdstor/stg.cxx
@@ -949,7 +949,7 @@ void Storage::SetClass( const SvGlobalName & rClass,
SetError( aCompObj.GetError() );
else
{
- StgOleStream aOle( *this, STREAM_WRITE );
+ StgOleStream aOle(*this, true);
if( !aOle.Store() )
SetError( aOle.GetError() );
}