diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-01 15:46:58 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-02 07:57:38 +0200 |
commit | 33265f52dfa6a4612156288a170a8e41cff2cfd8 (patch) | |
tree | 3c5b7ff070d3938d0e01c3c3bdf68785ca2bead6 /cui/source/inc/iconcdlg.hxx | |
parent | 09b5fe4c898cacd69042d1c585e27daf5d86cae7 (diff) |
loplugin:unuseddefaultparam in cui
Change-Id: I445b96a2ed4364616b2cb6a23efe36afb3f862f7
Diffstat (limited to 'cui/source/inc/iconcdlg.hxx')
-rw-r--r-- | cui/source/inc/iconcdlg.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/inc/iconcdlg.hxx b/cui/source/inc/iconcdlg.hxx index 76d8d37f71c8..23a3cb622a8f 100644 --- a/cui/source/inc/iconcdlg.hxx +++ b/cui/source/inc/iconcdlg.hxx @@ -91,8 +91,8 @@ public: virtual bool FillItemSet( SfxItemSet* ) = 0; virtual void Reset( const SfxItemSet& ) = 0; - bool HasExchangeSupport() const { return bHasExchangeSupport; } - void SetExchangeSupport( bool bNew = true ) { bHasExchangeSupport = bNew; } + bool HasExchangeSupport() const { return bHasExchangeSupport; } + void SetExchangeSupport() { bHasExchangeSupport = true; } enum { KEEP_PAGE = 0x0000, ///< error handling @@ -181,7 +181,7 @@ public: SvxIconChoiceCtrlEntry* AddTabPage( sal_uInt16 nId, const OUString& rIconText, const Image& rChoiceIcon, CreatePage pCreateFunc /* != NULL */, GetPageRanges pRangesFunc = nullptr /* NULL allowed*/, - bool bItemsOnDemand = false, sal_uLong nPos = TREELIST_APPEND ); + bool bItemsOnDemand = false ); void SetCurPageId( sal_uInt16 nId ) { mnCurrentPageId = nId; FocusOnIcon( nId ); } sal_uInt16 GetCurPageId() const { return mnCurrentPageId; } |