summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-07-04 20:07:53 +0200
committerMichael Stahl <mstahl@redhat.com>2013-07-04 20:08:57 +0200
commit5f4a9d91fc2323a38ac2aed54e2074a358ec168e (patch)
tree1f6804ffc629877d4034c31e32994f7d5b5c3b31 /sot
parentf9075eb5ccb79c4338fb6230dd898f98a02934fd (diff)
warning C4305 truncation from int to bool
Change-Id: Id4323cdb5201875200e83e7fe8377f0262f07a4e
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() );
}