diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-26 16:07:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-28 08:08:52 +0200 |
commit | edd0d35590fc368c6c06a9bb5c108aacbc742371 (patch) | |
tree | 467434c8c07ae5291b3347fe326cad12cc08f1ba /cui | |
parent | a3783c0af4bd21eb9c001aadc60c660c06a47779 (diff) |
loplugin:countusersofdefaultparams
Change-Id: I84868b3115c534a8240394283cc3beedf8cb3a80
Reviewed-on: https://gerrit.libreoffice.org/53543
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/inc/CommandCategoryListBox.hxx | 6 | ||||
-rw-r--r-- | cui/source/inc/cfgutil.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/cuicharmap.hxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/cui/source/inc/CommandCategoryListBox.hxx b/cui/source/inc/CommandCategoryListBox.hxx index 779189ed39f5..8d85169ed0d5 100644 --- a/cui/source/inc/CommandCategoryListBox.hxx +++ b/cui/source/inc/CommandCategoryListBox.hxx @@ -53,7 +53,7 @@ public: const css::uno::Sequence< css::frame::DispatchInformation >& xCommands, const VclPtr<SfxConfigFunctionListBox>& pFunctionListBox, const OUString& filterTerm, - SaveInData *pCurrentSaveInData = nullptr ); + SaveInData *pCurrentSaveInData ); OUString MapCommand2UIName(const OUString& sCommand); /** @@ -62,14 +62,14 @@ public: the commands in the selected category. */ void categorySelected( const VclPtr<SfxConfigFunctionListBox>& pFunctionListBox, - const OUString& filterTerm = OUString(), SaveInData* pCurrentSaveInData = nullptr ); + const OUString& filterTerm, SaveInData* pCurrentSaveInData = nullptr ); void SetStylesInfo(SfxStylesInfo_Impl* pStyles); // Adds children of the given macro group to the functions list void addChildren( SvTreeListEntry* parentEntry, const css::uno::Reference<com::sun::star::script::browse::XBrowseNode> &parentNode, - const VclPtr<SfxConfigFunctionListBox> &pFunctionListBox, const OUString &filterTerm , SaveInData *pCurrentSaveInData = nullptr ); + const VclPtr<SfxConfigFunctionListBox> &pFunctionListBox, const OUString &filterTerm , SaveInData *pCurrentSaveInData ); }; #endif // INCLUDED_CUI_SOURCE_INC_COMMANDCATEGORYLISTBOX_HXX diff --git a/cui/source/inc/cfgutil.hxx b/cui/source/inc/cfgutil.hxx index 4a97e63c608b..a1f4a2971314 100644 --- a/cui/source/inc/cfgutil.hxx +++ b/cui/source/inc/cfgutil.hxx @@ -201,7 +201,7 @@ public: SvxScriptSelectorDialog ( vcl::Window* pParent, bool bShowSlots, - const css::uno::Reference< css::frame::XFrame >& xFrame = nullptr + const css::uno::Reference< css::frame::XFrame >& xFrame ); virtual ~SvxScriptSelectorDialog() override; virtual void dispose() override; diff --git a/cui/source/inc/cuicharmap.hxx b/cui/source/inc/cuicharmap.hxx index 74928b37a83e..db77b34ec3cb 100644 --- a/cui/source/inc/cuicharmap.hxx +++ b/cui/source/inc/cuicharmap.hxx @@ -136,7 +136,7 @@ private: void selectCharByCode(Radix radix); public: - SvxCharacterMap(weld::Window* pParent, const SfxItemSet* pSet=nullptr, const bool bInsert=true); + SvxCharacterMap(weld::Window* pParent, const SfxItemSet* pSet, const bool bInsert=true); short execute(); void set_title(const OUString& rTitle) { m_xDialog->set_title(rTitle); } |