diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-06 16:49:55 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-07 07:20:24 +0200 |
commit | 6343754e310a589cb49e2a1da0cd68472571179d (patch) | |
tree | a0915b9679f3422a6abda3fb2d6917df4edb30f5 /sot/source/sdstor/stgdir.hxx | |
parent | dea885f80a80c6a5839ee5dbf8521487186a9522 (diff) |
cppcheck:noExplicitConstructor
Change-Id: I2717d3d120df8af5b7e9af8d147a57b9f5b5ecbe
Diffstat (limited to 'sot/source/sdstor/stgdir.hxx')
-rw-r--r-- | sot/source/sdstor/stgdir.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sot/source/sdstor/stgdir.hxx b/sot/source/sdstor/stgdir.hxx index d810b6d9397f..0f945b36b5fe 100644 --- a/sot/source/sdstor/stgdir.hxx +++ b/sot/source/sdstor/stgdir.hxx @@ -64,7 +64,7 @@ public: bool bInvalid; // true: invalid entry StgDirEntry(const void* pBuffer, sal_uInt32 nBufferLen, sal_uInt64 nUnderlyingStreamSize, bool * pbOk); - StgDirEntry( const StgEntry& ); + explicit StgDirEntry( const StgEntry& ); virtual ~StgDirEntry(); void Invalidate( bool=false ); // invalidate all open entries @@ -95,7 +95,7 @@ class StgDirStrm : public StgDataStrm short nEntries; // entries per page void SetupEntry( sal_Int32, StgDirEntry* ); public: - StgDirStrm( StgIo& ); + explicit StgDirStrm( StgIo& ); virtual ~StgDirStrm(); virtual bool SetSize( sal_Int32 ) SAL_OVERRIDE; // change the size bool Store(); @@ -108,7 +108,7 @@ public: class StgIterator : public StgAvlIterator { public: - StgIterator( StgDirEntry& rStg ) : StgAvlIterator( rStg.pDown ) {} + explicit StgIterator( StgDirEntry& rStg ) : StgAvlIterator( rStg.pDown ) {} StgDirEntry* First() { return static_cast<StgDirEntry*>( StgAvlIterator::First() ); } StgDirEntry* Next() { return static_cast<StgDirEntry*>( StgAvlIterator::Next() ); } }; |