summaryrefslogtreecommitdiff
path: root/include/sot
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-21 13:05:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-21 12:09:24 +0000
commit1617eef124e01ca3b3286e0ad5985c34dde7fadb (patch)
tree0f9471b483218d56b36aab03a175ce307aae6532 /include/sot
parentbeb8cfcf32f855a0fb638caef4782d9d867e3102 (diff)
loplugin:countusersofdefaultparams in include/sot..svl
Change-Id: Idb022a4a6fb950f1b259abbba57daed9401732d9 Reviewed-on: https://gerrit.libreoffice.org/31038 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sot')
-rw-r--r--include/sot/stg.hxx22
-rw-r--r--include/sot/storage.hxx2
2 files changed, 15 insertions, 9 deletions
diff --git a/include/sot/stg.hxx b/include/sot/stg.hxx
index 29a7d121f0c8..3a11b4e2298d 100644
--- a/include/sot/stg.hxx
+++ b/include/sot/stg.hxx
@@ -128,7 +128,7 @@ protected:
StgDirEntry* pEntry; // the dir entry
OLEStorageBase( StgIo*, StgDirEntry*, StreamMode& );
~OLEStorageBase();
- bool Validate_Impl( bool=false ) const;
+ bool Validate_Impl( bool ) const;
static bool ValidateMode_Impl( StreamMode, StgDirEntry* p = nullptr );
};
@@ -165,9 +165,9 @@ class SOT_DLLPUBLIC Storage : public BaseStorage, public OLEStorageBase
protected:
virtual ~Storage() override;
public:
- Storage( const OUString &, StreamMode = StreamMode::STD_READWRITE, bool bDirect = true );
- Storage( SvStream& rStrm, bool bDirect = true );
- Storage( UCBStorageStream& rStrm, bool bDirect = true );
+ Storage( const OUString &, StreamMode, bool bDirect );
+ Storage( SvStream& rStrm, bool bDirect );
+ Storage( UCBStorageStream& rStrm, bool bDirect );
static bool IsStorageFile( const OUString & rFileName );
static bool IsStorageFile( SvStream* );
@@ -258,11 +258,16 @@ public:
static bool IsStorageFile( SvStream* );
static OUString GetLinkedFile( SvStream& );
- UCBStorage( const ::ucbhelper::Content& rContent, const OUString& rName, StreamMode nMode, bool bDirect = true, bool bIsRoot = true );
+ UCBStorage( const ::ucbhelper::Content& rContent,
+ const OUString& rName,
+ StreamMode nMode,
+ bool bDirect,
+ bool bIsRoot );
+
UCBStorage( const OUString& rName,
StreamMode nMode,
- bool bDirect = true,
- bool bIsRoot = true );
+ bool bDirect,
+ bool bIsRoot );
UCBStorage( const OUString& rName,
StreamMode nMode,
@@ -273,7 +278,8 @@ public:
xProgressHandler );
UCBStorage( UCBStorage_Impl* );
- UCBStorage( SvStream& rStrm, bool bDirect = true );
+
+ UCBStorage( SvStream& rStrm, bool bDirect );
virtual const OUString& GetName() const override;
virtual bool IsRoot() const override;
diff --git a/include/sot/storage.hxx b/include/sot/storage.hxx
index fc0d4240fc1b..2365f13a237c 100644
--- a/include/sot/storage.hxx
+++ b/include/sot/storage.hxx
@@ -112,7 +112,7 @@ public:
m_nError = nErrorCode;
}
- void SignAsRoot( bool b = true ) { m_bIsRoot = b; }
+ void SignAsRoot( bool b ) { m_bIsRoot = b; }
// own data sector
void SetClass( const SvGlobalName & rClass,