diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-06 09:09:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-06 10:34:15 +0100 |
commit | 31b89aaeacff570017c3344195af6d075d7ec73c (patch) | |
tree | 5f8df1c4269747c4c7f65e24fee9bb1c0ae194bd /cui/source/inc | |
parent | 9f9347c26531bc084d081f21b43c232f411e2cee (diff) |
loplugin:countusersofdefaultparams in cui
Change-Id: Id3258a664c2ea740419331877f7ce6af5e2559e7
Reviewed-on: https://gerrit.libreoffice.org/45922
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/inc')
-rw-r--r-- | cui/source/inc/CommandCategoryListBox.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/bbdlg.hxx | 4 | ||||
-rw-r--r-- | cui/source/inc/cfg.hxx | 6 | ||||
-rw-r--r-- | cui/source/inc/cfgutil.hxx | 4 | ||||
-rw-r--r-- | cui/source/inc/cuitabline.hxx | 4 | ||||
-rw-r--r-- | cui/source/inc/dlgname.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/dstribut.hxx | 8 | ||||
-rw-r--r-- | cui/source/inc/hltpbase.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/insdlg.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/labdlg.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/linkdlg.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/numpages.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/postdlg.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/transfrm.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/treeopt.hxx | 2 |
15 files changed, 23 insertions, 23 deletions
diff --git a/cui/source/inc/CommandCategoryListBox.hxx b/cui/source/inc/CommandCategoryListBox.hxx index 8149cc6f261c..62423d0dac99 100644 --- a/cui/source/inc/CommandCategoryListBox.hxx +++ b/cui/source/inc/CommandCategoryListBox.hxx @@ -52,7 +52,7 @@ public: void FillFunctionsList( const css::uno::Sequence< css::frame::DispatchInformation >& xCommands, const VclPtr<SfxConfigFunctionListBox>& pFunctionListBox, - const OUString& filterTerm = OUString() ); + const OUString& filterTerm ); OUString MapCommand2UIName(const OUString& sCommand); /** diff --git a/cui/source/inc/bbdlg.hxx b/cui/source/inc/bbdlg.hxx index 750a1f0bdd80..1a3a2afa3da6 100644 --- a/cui/source/inc/bbdlg.hxx +++ b/cui/source/inc/bbdlg.hxx @@ -30,8 +30,8 @@ class SvxBorderBackgroundDlg: public SfxTabDialog public: SvxBorderBackgroundDlg(vcl::Window *pParent, const SfxItemSet& rCoreSet, - bool bEnableSelector = false, - bool bEnableDrawingLayerFillStyles = false); + bool bEnableSelector, + bool bEnableDrawingLayerFillStyles); protected: virtual void PageCreated( sal_uInt16 nPageId, SfxTabPage& rTabPage ) override; diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx index 445b860a7f74..5e65de3a830a 100644 --- a/cui/source/inc/cfg.hxx +++ b/cui/source/inc/cfg.hxx @@ -274,8 +274,8 @@ public: SvxConfigEntry( const OUString& rDisplayName, const OUString& rCommandURL, - bool bPopup = false, - bool bParentData = false ); + bool bPopup, + bool bParentData ); SvxConfigEntry() : @@ -512,7 +512,7 @@ class SvxMainMenuOrganizerDialog : public ModalDialog public: SvxMainMenuOrganizerDialog ( vcl::Window*, SvxEntries*, - SvxConfigEntry const *, bool bCreateMenu = false ); + SvxConfigEntry const *, bool bCreateMenu ); virtual ~SvxMainMenuOrganizerDialog() override; virtual void dispose() override; diff --git a/cui/source/inc/cfgutil.hxx b/cui/source/inc/cfgutil.hxx index 413de4e25c83..ff9ca2896976 100644 --- a/cui/source/inc/cfgutil.hxx +++ b/cui/source/inc/cfgutil.hxx @@ -199,8 +199,8 @@ class SvxScriptSelectorDialog : public ModalDialog public: SvxScriptSelectorDialog ( - vcl::Window* pParent = nullptr, - bool bShowSlots = false, + vcl::Window* pParent, + bool bShowSlots, const css::uno::Reference< css::frame::XFrame >& xFrame = nullptr ); virtual ~SvxScriptSelectorDialog() override; diff --git a/cui/source/inc/cuitabline.hxx b/cui/source/inc/cuitabline.hxx index 5fabc21eada0..8f6fc3fe44bf 100644 --- a/cui/source/inc/cuitabline.hxx +++ b/cui/source/inc/cuitabline.hxx @@ -63,8 +63,8 @@ class SvxLineTabDialog final : public SfxTabDialog public: SvxLineTabDialog( vcl::Window* pParent, const SfxItemSet* pAttr, - SdrModel* pModel, const SdrObject* pObj = nullptr, - bool bHasObj = true ); + SdrModel* pModel, const SdrObject* pObj, + bool bHasObj ); void SetNewDashList( XDashListRef const & pInLst) { pNewDashList = pInLst; } diff --git a/cui/source/inc/dlgname.hxx b/cui/source/inc/dlgname.hxx index e1ffd2a1e338..689008e38849 100644 --- a/cui/source/inc/dlgname.hxx +++ b/cui/source/inc/dlgname.hxx @@ -142,7 +142,7 @@ private: DECL_LINK(Button2Hdl, Button*, void); public: - SvxMessDialog( vcl::Window* pWindow, const OUString& rText, const OUString& rDesc, Image const * pImg = nullptr ); + SvxMessDialog( vcl::Window* pWindow, const OUString& rText, const OUString& rDesc, Image const * pImg ); virtual ~SvxMessDialog() override; virtual void dispose() override; diff --git a/cui/source/inc/dstribut.hxx b/cui/source/inc/dstribut.hxx index 55fb09410185..0923746a2eca 100644 --- a/cui/source/inc/dstribut.hxx +++ b/cui/source/inc/dstribut.hxx @@ -42,8 +42,8 @@ class SvxDistributePage : public SvxTabPage public: SvxDistributePage(vcl::Window* pWindow, const SfxItemSet& rInAttrs, - SvxDistributeHorizontal eHor = SvxDistributeHorizontal::NONE, - SvxDistributeVertical eVer = SvxDistributeVertical::NONE); + SvxDistributeHorizontal eHor, + SvxDistributeVertical eVer); virtual ~SvxDistributePage() override; virtual void dispose() override; @@ -61,8 +61,8 @@ class SvxDistributeDialog : public SfxSingleTabDialog public: SvxDistributeDialog(vcl::Window* pParent, const SfxItemSet& rAttr, - SvxDistributeHorizontal eHor = SvxDistributeHorizontal::NONE, - SvxDistributeVertical eVer = SvxDistributeVertical::NONE); + SvxDistributeHorizontal eHor, + SvxDistributeVertical eVer); virtual ~SvxDistributeDialog() override; virtual void dispose() override; diff --git a/cui/source/inc/hltpbase.hxx b/cui/source/inc/hltpbase.hxx index edf2546cf217..4c78d1223d60 100644 --- a/cui/source/inc/hltpbase.hxx +++ b/cui/source/inc/hltpbase.hxx @@ -53,7 +53,7 @@ protected: virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt ) override; public: - SvxHyperURLBox( vcl::Window* pParent, INetProtocol eSmart = INetProtocol::File ); + SvxHyperURLBox( vcl::Window* pParent, INetProtocol eSmart ); }; diff --git a/cui/source/inc/insdlg.hxx b/cui/source/inc/insdlg.hxx index 4b4277495004..102eb19d421f 100644 --- a/cui/source/inc/insdlg.hxx +++ b/cui/source/inc/insdlg.hxx @@ -79,7 +79,7 @@ class SvInsertOleDlg : public InsertObjectDialog_Impl public: SvInsertOleDlg( vcl::Window* pParent, const css::uno::Reference < css::embed::XStorage >& xStorage, - const SvObjectServerList* pServers = nullptr ); + const SvObjectServerList* pServers ); virtual ~SvInsertOleDlg() override; virtual void dispose() override; virtual short Execute() override; diff --git a/cui/source/inc/labdlg.hxx b/cui/source/inc/labdlg.hxx index 7935a9f75a76..3fa0179d91d7 100644 --- a/cui/source/inc/labdlg.hxx +++ b/cui/source/inc/labdlg.hxx @@ -113,7 +113,7 @@ private: public: SvxCaptionTabDialog(vcl::Window* pParent, const SdrView* pView, - SvxAnchorIds nAnchorTypes = SvxAnchorIds::NONE); + SvxAnchorIds nAnchorTypes); /// link for the Writer to validate positions void SetValidateFramePosLink( const Link<SvxSwFrameValidation&,void>& rLink ); diff --git a/cui/source/inc/linkdlg.hxx b/cui/source/inc/linkdlg.hxx index 15fcb6f7a8d9..3db4f16401eb 100644 --- a/cui/source/inc/linkdlg.hxx +++ b/cui/source/inc/linkdlg.hxx @@ -81,7 +81,7 @@ class SvBaseLinksDlg : public ModalDialog void SetManager( sfx2::LinkManager* ); public: - SvBaseLinksDlg( vcl::Window * pParent, sfx2::LinkManager*, bool bHtml = false ); + SvBaseLinksDlg( vcl::Window * pParent, sfx2::LinkManager*, bool bHtml ); virtual ~SvBaseLinksDlg() override; virtual void dispose() override; void SetActLink( sfx2::SvBaseLink const * pLink ); diff --git a/cui/source/inc/numpages.hxx b/cui/source/inc/numpages.hxx index e8d85cf9113c..8732edb2b8d4 100644 --- a/cui/source/inc/numpages.hxx +++ b/cui/source/inc/numpages.hxx @@ -55,7 +55,7 @@ class SvxNumberingPreview : public vcl::Window virtual void Paint( vcl::RenderContext& rRenderContext, const ::tools::Rectangle& rRect ) override; public: - SvxNumberingPreview(vcl::Window* pParent, WinBits nWinBits = WB_BORDER); + SvxNumberingPreview(vcl::Window* pParent, WinBits nWinBits); void SetNumRule(const SvxNumRule* pNum) {pActNum = pNum; Invalidate();}; diff --git a/cui/source/inc/postdlg.hxx b/cui/source/inc/postdlg.hxx index 23c9ca17b04f..678602a85feb 100644 --- a/cui/source/inc/postdlg.hxx +++ b/cui/source/inc/postdlg.hxx @@ -43,7 +43,7 @@ class SvxPostItDialog : public SfxModalDialog { public: SvxPostItDialog(vcl::Window* pParent, const SfxItemSet& rCoreSet, - bool bPrevNext = false); + bool bPrevNext); virtual ~SvxPostItDialog() override; virtual void dispose() override; diff --git a/cui/source/inc/transfrm.hxx b/cui/source/inc/transfrm.hxx index 1728a30c9b60..7222f09f92b4 100644 --- a/cui/source/inc/transfrm.hxx +++ b/cui/source/inc/transfrm.hxx @@ -55,7 +55,7 @@ public: SvxTransformTabDialog( vcl::Window* pParent, const SfxItemSet* pAttr, const SdrView* pView, - SvxAnchorIds nAnchorTypes = SvxAnchorIds::NONE); + SvxAnchorIds nAnchorTypes); //link for the Writer to validate positions void SetValidateFramePosLink( const Link<SvxSwFrameValidation&,void>& rLink ); diff --git a/cui/source/inc/treeopt.hxx b/cui/source/inc/treeopt.hxx index efad9eb74137..274076d9d99f 100644 --- a/cui/source/inc/treeopt.hxx +++ b/cui/source/inc/treeopt.hxx @@ -176,7 +176,7 @@ private: public: OfaTreeOptionsDialog( vcl::Window* pParent, const css::uno::Reference< css::frame::XFrame >& _xFrame, - bool bActivateLastSelection = true ); + bool bActivateLastSelection ); OfaTreeOptionsDialog( vcl::Window* pParent, const OUString& rExtensionId ); virtual ~OfaTreeOptionsDialog() override; virtual void dispose() override; |