diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-01 11:31:10 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-01 12:48:51 +0200 |
commit | def71473d25e88729c644e35523d267c8cd04e57 (patch) | |
tree | 46f2109fe5ed9456eedefa4435b0c13df4882efe /sot | |
parent | 08e14eb270ef446c68ac27a3bca49494aa02da2d (diff) |
loplugin:unuseddefaultparam in sot
Change-Id: I36f88f060377fa754d4a47956932d73c47d14ece
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stgdir.cxx | 4 | ||||
-rw-r--r-- | sot/source/sdstor/stgdir.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sot/source/sdstor/stgdir.cxx b/sot/source/sdstor/stgdir.cxx index 8e8eaa08edd1..e093936d2a16 100644 --- a/sot/source/sdstor/stgdir.cxx +++ b/sot/source/sdstor/stgdir.cxx @@ -261,11 +261,11 @@ bool StgDirEntry::IsDirty() // Set up a stream. -void StgDirEntry::OpenStream( StgIo& rIo, bool bForceBig ) +void StgDirEntry::OpenStream( StgIo& rIo ) { sal_Int32 nThreshold = (sal_uInt16) rIo.m_aHdr.GetThreshold(); delete m_pStgStrm; - if( !bForceBig && m_aEntry.GetSize() < nThreshold ) + if( m_aEntry.GetSize() < nThreshold ) m_pStgStrm = new StgSmallStrm( rIo, *this ); else m_pStgStrm = new StgDataStrm( rIo, *this ); diff --git a/sot/source/sdstor/stgdir.hxx b/sot/source/sdstor/stgdir.hxx index 7878de384107..cecbba46fa89 100644 --- a/sot/source/sdstor/stgdir.hxx +++ b/sot/source/sdstor/stgdir.hxx @@ -78,7 +78,7 @@ public: bool Commit(); - void OpenStream( StgIo&, bool=false ); // set up an appropriate stream + void OpenStream( StgIo& ); // set up an appropriate stream void Close(); sal_Int32 GetSize(); bool SetSize( sal_Int32 ); |