diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-31 14:34:13 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-09-01 06:34:22 +0000 |
commit | 1b86c57b08986109a7a5d431407fde273ab242d0 (patch) | |
tree | 615c6b40dd592deca55d09d0e25e573c607c533e /include/tools | |
parent | c780c6726dca5e2fe33297e44f25ae3e00703294 (diff) |
loplugin:countusersofdefaultparams
Change-Id: Icfc2fdde493619fefaf6119d366f8f7166b3ff36
Reviewed-on: https://gerrit.libreoffice.org/28547
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/b3dtrans.hxx | 2 | ||||
-rw-r--r-- | include/tools/simplerm.hxx | 2 | ||||
-rw-r--r-- | include/tools/stream.hxx | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/include/tools/b3dtrans.hxx b/include/tools/b3dtrans.hxx index b0403cfc0346..75129a63d95e 100644 --- a/include/tools/b3dtrans.hxx +++ b/include/tools/b3dtrans.hxx @@ -103,7 +103,7 @@ public: // aspect ratio accessors and the defined method of keeping defined aspect ratio double GetRatio() { return mfRatio; } - void SetRatio(double fNew=1.0); + void SetRatio(double fNew); // Parameters of ViewportTransformation void SetDeviceRectangle(double fL=-1.0, double fR=1.0, diff --git a/include/tools/simplerm.hxx b/include/tools/simplerm.hxx index 87834a7fef2b..7560f4bc64c7 100644 --- a/include/tools/simplerm.hxx +++ b/include/tools/simplerm.hxx @@ -51,7 +51,7 @@ public: virtual ~SimpleResMgr(); static SimpleResMgr* Create( const sal_Char* pPrefixName, - const LanguageTag& rLocale = LanguageTag( LANGUAGE_SYSTEM) );// only in VCL + const LanguageTag& rLocale );// only in VCL bool IsValid() const { return m_pResImpl != nullptr; } diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx index 19d756b7431d..8a9f3d04db6e 100644 --- a/include/tools/stream.hxx +++ b/include/tools/stream.hxx @@ -651,8 +651,7 @@ public: void* SwitchBuffer(); // the buffer is not owned by this class - void SetBuffer( void* pBuf, sal_Size nSize, - sal_Size nEOF=0 ); + void SetBuffer( void* pBuf, sal_Size nSize, sal_Size nEOF ); void ObjectOwnsMemory( bool bOwn ) { bOwnsData = bOwn; } void SetResizeOffset( sal_Size nNewResize ) { nResize = nNewResize; } |