From b4e12269e813338afc895986fbc4f2703cedd016 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 5 Aug 2016 11:11:03 +0200 Subject: loplugin:countusersofdefaultparams in editeng..fpicker Change-Id: I6356c95296d81736fc6d66e510cd70606ee55f68 Reviewed-on: https://gerrit.libreoffice.org/27897 Tested-by: Jenkins Reviewed-by: Noel Grandin --- extensions/source/bibliography/datman.hxx | 2 +- extensions/source/bibliography/toolbar.cxx | 2 +- extensions/source/bibliography/toolbar.hxx | 6 +++--- extensions/source/dbpilots/controlwizard.hxx | 2 +- extensions/source/propctrlr/browserlistbox.hxx | 2 +- extensions/source/propctrlr/cellbindinghelper.hxx | 4 ++-- extensions/source/propctrlr/propertyhandler.hxx | 8 ++++---- 7 files changed, 13 insertions(+), 13 deletions(-) (limited to 'extensions') diff --git a/extensions/source/bibliography/datman.hxx b/extensions/source/bibliography/datman.hxx index 19fd5506bec9..3ba10aac8047 100644 --- a/extensions/source/bibliography/datman.hxx +++ b/extensions/source/bibliography/datman.hxx @@ -158,7 +158,7 @@ public: static OUString getControlName(sal_Int32 nFormatKey ); css::uno::Reference< css::awt::XControlModel > loadControlModel(const OUString& rName, - bool bForceListBox = false); + bool bForceListBox); void CreateMappingDialog(vcl::Window* pParent); OUString CreateDBChangeDialog(vcl::Window* pParent); diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx index 65e4010aab6a..a0d251bc580c 100644 --- a/extensions/source/bibliography/toolbar.cxx +++ b/extensions/source/bibliography/toolbar.cxx @@ -106,7 +106,7 @@ void BibTBListBoxListener::statusChanged(const css::frame::FeatureStateEvent& rE aEntry = pStringArray[i]; pToolBar->InsertSourceEntry(aEntry); } - pToolBar->UpdateSourceList(); + pToolBar->UpdateSourceList(true); } pToolBar->SelectSourceEntry(rEvt.FeatureDescriptor); diff --git a/extensions/source/bibliography/toolbar.hxx b/extensions/source/bibliography/toolbar.hxx index 97f189cc0618..136f8382ee64 100644 --- a/extensions/source/bibliography/toolbar.hxx +++ b/extensions/source/bibliography/toolbar.hxx @@ -164,12 +164,12 @@ class BibToolBar: public ToolBox void SetXController(const css::uno::Reference< css::frame::XController > &); void ClearSourceList(); - void UpdateSourceList(bool bFlag=true); - void EnableSourceList(bool bFlag=true); + void UpdateSourceList(bool bFlag); + void EnableSourceList(bool bFlag); void InsertSourceEntry(const OUString& ); void SelectSourceEntry(const OUString& ); - void EnableQuery(bool bFlag=true); + void EnableQuery(bool bFlag); void SetQueryString(const OUString& ); void AdjustToolBox(); diff --git a/extensions/source/dbpilots/controlwizard.hxx b/extensions/source/dbpilots/controlwizard.hxx index ba2be4cffcaf..59b66560ec39 100644 --- a/extensions/source/dbpilots/controlwizard.hxx +++ b/extensions/source/dbpilots/controlwizard.hxx @@ -112,7 +112,7 @@ namespace dbp const OControlWizardContext& getContext() const { return m_aContext; } bool updateContext(const OAccessRegulator&); - void setFormConnection(const OAccessRegulator&, const css::uno::Reference< css::sdbc::XConnection >& _rxConn, bool _bAutoDispose = true ); + void setFormConnection(const OAccessRegulator&, const css::uno::Reference< css::sdbc::XConnection >& _rxConn, bool _bAutoDispose ); css::uno::Reference< css::sdbc::XConnection > getFormConnection(const OAccessRegulator&) const; diff --git a/extensions/source/propctrlr/browserlistbox.hxx b/extensions/source/propctrlr/browserlistbox.hxx index 73724e10bb36..284119c97c3f 100644 --- a/extensions/source/propctrlr/browserlistbox.hxx +++ b/extensions/source/propctrlr/browserlistbox.hxx @@ -127,7 +127,7 @@ namespace pcr void Clear(); - void InsertEntry( const OLineDescriptor&, sal_uInt16 nPos = EDITOR_LIST_APPEND ); + void InsertEntry( const OLineDescriptor&, sal_uInt16 nPos ); bool RemoveEntry( const OUString& _rName ); void ChangeEntry( const OLineDescriptor&, sal_uInt16 nPos ); diff --git a/extensions/source/propctrlr/cellbindinghelper.hxx b/extensions/source/propctrlr/cellbindinghelper.hxx index c044a2ef72f7..2fe8de94be89 100644 --- a/extensions/source/propctrlr/cellbindinghelper.hxx +++ b/extensions/source/propctrlr/cellbindinghelper.hxx @@ -71,7 +71,7 @@ namespace pcr css::uno::Reference< css::form::binding::XValueBinding > createCellBindingFromStringAddress( const OUString& _rAddress, - bool _bSupportIntegerExchange = false + bool _bSupportIntegerExchange ) const; /** creates a cell binding (supporting integer exchange, if requested) for @@ -80,7 +80,7 @@ namespace pcr css::uno::Reference< css::form::binding::XValueBinding > createCellBindingFromAddress( const css::table::CellAddress& _rAddress, - bool _bSupportIntegerExchange = false + bool _bSupportIntegerExchange ) const; /** gets a cell range list source binding for the given address diff --git a/extensions/source/propctrlr/propertyhandler.hxx b/extensions/source/propctrlr/propertyhandler.hxx index 8af12129fe2f..93c47830a81e 100644 --- a/extensions/source/propctrlr/propertyhandler.hxx +++ b/extensions/source/propctrlr/propertyhandler.hxx @@ -189,7 +189,7 @@ namespace pcr inline void addDoublePropertyDescription( ::std::vector< css::beans::Property >& _rProperties, const OUString& _rPropertyName, - sal_Int16 _nAttribs = 0 + sal_Int16 _nAttribs ) const; /** adds a description for the given date property to the given property vector @@ -197,7 +197,7 @@ namespace pcr inline void addDatePropertyDescription( ::std::vector< css::beans::Property >& _rProperties, const OUString& _rPropertyName, - sal_Int16 _nAttribs = 0 + sal_Int16 _nAttribs ) const; /** adds a description for the given time property to the given property vector @@ -205,7 +205,7 @@ namespace pcr inline void addTimePropertyDescription( ::std::vector< css::beans::Property >& _rProperties, const OUString& _rPropertyName, - sal_Int16 _nAttribs = 0 + sal_Int16 _nAttribs ) const; /** adds a description for the given DateTime property to the given property vector @@ -213,7 +213,7 @@ namespace pcr inline void addDateTimePropertyDescription( ::std::vector< css::beans::Property >& _rProperties, const OUString& _rPropertyName, - sal_Int16 _nAttribs = 0 + sal_Int16 _nAttribs ) const; /// adds a Property, given by name only, to a given vector of Properties -- cgit