diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-04 12:03:36 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-09-05 06:23:06 +0000 |
commit | 5d22a47b4431c5718d989e738d2963d0b880d898 (patch) | |
tree | b82a87eb09ed344dbbd368ee6b5cd6926a1a8e93 /include/svtools/inettbc.hxx | |
parent | 87ee6c044d79978d2121087f5e1a10f417adf9c7 (diff) |
loplugin:countusersofdefaultparams
Change-Id: I38bfc88e85a9e5a024e982e555a0e0485a3010ad
Reviewed-on: https://gerrit.libreoffice.org/28662
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svtools/inettbc.hxx')
-rw-r--r-- | include/svtools/inettbc.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svtools/inettbc.hxx b/include/svtools/inettbc.hxx index 108c8779d69f..d46d420293fd 100644 --- a/include/svtools/inettbc.hxx +++ b/include/svtools/inettbc.hxx @@ -66,8 +66,8 @@ public: const OUString& GetBaseURL() const { return aBaseURL; } void SetOpenHdl( const Link<SvtURLBox*,void>& rLink ) { aOpenHdl = rLink; } const Link<SvtURLBox*,void>& GetOpenHdl() const { return aOpenHdl; } - void SetOnlyDirectories( bool bDir = true ); - void SetNoURLSelection( bool bSet = true ); + void SetOnlyDirectories( bool bDir ); + void SetNoURLSelection( bool bSet ); INetProtocol GetSmartProtocol() const { return eSmartProtocol; } void SetSmartProtocol( INetProtocol eProt ); bool IsCtrlOpen() @@ -81,7 +81,7 @@ public: void SetFilter(const OUString& _sFilter); - inline void EnableAutocompletion( bool _bEnable = true ) + inline void EnableAutocompletion( bool _bEnable ) { bIsAutoCompleteEnabled = _bEnable; } void SetPlaceHolder( const OUString& sPlaceHolder ) { aPlaceHolder = sPlaceHolder; } |