summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/stgole.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-27 15:08:50 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-28 11:21:17 +0000
commit48a8d6d8434908690bc2a51d27f1051bd550c9b0 (patch)
tree066f8fc9753bdba62f87f205baface6e729857bf /sot/source/sdstor/stgole.cxx
parentf7d6f3e4e3fda3cd4936880918e2831246634a3e (diff)
loplugin:singlevalfields in various
Change-Id: Ia0d8f463a4dba9ec63aa0159441e3e607dd3bf5e Reviewed-on: https://gerrit.libreoffice.org/26738 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sot/source/sdstor/stgole.cxx')
-rw-r--r--sot/source/sdstor/stgole.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sot/source/sdstor/stgole.cxx b/sot/source/sdstor/stgole.cxx
index 96769c9cd272..48147043691e 100644
--- a/sot/source/sdstor/stgole.cxx
+++ b/sot/source/sdstor/stgole.cxx
@@ -166,7 +166,6 @@ bool StgCompObjStream::Store()
StgOleStream::StgOleStream( BaseStorage& rStg, bool bWr )
: StgInternalStream( rStg, OUString("\1Ole"), bWr )
{
- m_nFlags = 0;
}
bool StgOleStream::Store()
@@ -176,7 +175,7 @@ bool StgOleStream::Store()
Seek( 0L );
WriteInt32( 0x02000001 ); // OLE version, format
- WriteInt32( m_nFlags ); // Object flags
+ WriteInt32( 0 ); // Object flags
WriteInt32( 0 ); // Update Options
WriteInt32( 0 ); // reserved
WriteInt32( 0 ); // Moniker 1