From edd0d35590fc368c6c06a9bb5c108aacbc742371 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 26 Apr 2018 16:07:46 +0200 Subject: loplugin:countusersofdefaultparams Change-Id: I84868b3115c534a8240394283cc3beedf8cb3a80 Reviewed-on: https://gerrit.libreoffice.org/53543 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cui/source/inc/CommandCategoryListBox.hxx | 6 +++--- cui/source/inc/cfgutil.hxx | 2 +- cui/source/inc/cuicharmap.hxx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'cui') 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& 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& 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 &parentNode, - const VclPtr &pFunctionListBox, const OUString &filterTerm , SaveInData *pCurrentSaveInData = nullptr ); + const VclPtr &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); } -- cgit