diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-08 15:38:59 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-11 06:05:32 +0000 |
commit | 3716b144265dda695d7dd447dbe692a3f84c588e (patch) | |
tree | 6b8d8751e306841102f6808fbb5403dac193c35c /include | |
parent | b796b24793827583550279d40bfe565c66ad284d (diff) |
loplugin:constantparam
Change-Id: Ia06b9b189033b9409d7a59a211866f66a0614886
Reviewed-on: https://gerrit.libreoffice.org/28016
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/filter/msfilter/msdffimp.hxx | 1 | ||||
-rw-r--r-- | include/svx/fmsrcimp.hxx | 8 | ||||
-rw-r--r-- | include/svx/sdr/attribute/sdrtextattribute.hxx | 1 | ||||
-rw-r--r-- | include/svx/svdmodel.hxx | 2 | ||||
-rw-r--r-- | include/vcl/tabctrl.hxx | 2 |
5 files changed, 3 insertions, 11 deletions
diff --git a/include/filter/msfilter/msdffimp.hxx b/include/filter/msfilter/msdffimp.hxx index 206bdcbc1103..9cbf2e18ac33 100644 --- a/include/filter/msfilter/msdffimp.hxx +++ b/include/filter/msfilter/msdffimp.hxx @@ -368,7 +368,6 @@ public: void Clear(); void Consume( SvStream& rIn, - bool bAppend = false, sal_uInt32 nStOfs = 0 ); bool SeekToContent( SvStream& rIn, diff --git a/include/svx/fmsrcimp.hxx b/include/svx/fmsrcimp.hxx index b71e7336b973..682138cf0f27 100644 --- a/include/svx/fmsrcimp.hxx +++ b/include/svx/fmsrcimp.hxx @@ -159,8 +159,6 @@ namespace svxform { }; } -enum FMSEARCH_MODE { SM_BRUTE, SM_ALLOWSCHEDULE, SM_USETHREAD }; - typedef std::vector< css::uno::Reference< css::uno::XInterface> > InterfaceArray; class SAL_WARN_UNUSED SVX_DLLPUBLIC FmSearchEngine @@ -215,7 +213,6 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC FmSearchEngine bool m_bCancelAsynchRequest : 1; // should be cancelled? ::osl::Mutex m_aCancelAsynchAccess; // access to_bCancelAsynchRequest (technically only // relevant for m_eMode == SM_USETHREAD) - FMSEARCH_MODE m_eMode; // current mode // parameters for the search bool m_bFormatter : 1; // use field formatting @@ -281,8 +278,6 @@ public: sal_uInt16 GetPosition() const { return m_nPosition; } // position will be ignored in case of m_bWildCard==sal_True - FMSEARCH_MODE GetSearchMode() const { return m_eMode; } - public: /** two constructs, both analogical to FmSearchDialog, therefore look this up for explanations .... xCursor has to implement css::data::DatabaseCursor service each time. @@ -296,8 +291,7 @@ public: const css::uno::Reference< css::uno::XComponentContext >& _rxContext, const css::uno::Reference< css::sdbc::XResultSet >& xCursor, const OUString& strVisibleFields, - const InterfaceArray& arrFields, - FMSEARCH_MODE eMode); + const InterfaceArray& arrFields); virtual ~FmSearchEngine(); diff --git a/include/svx/sdr/attribute/sdrtextattribute.hxx b/include/svx/sdr/attribute/sdrtextattribute.hxx index 01aa02aef141..efcb9524bf98 100644 --- a/include/svx/sdr/attribute/sdrtextattribute.hxx +++ b/include/svx/sdr/attribute/sdrtextattribute.hxx @@ -76,7 +76,6 @@ namespace drawinglayer bool bInEditMode, bool bFixedCellHeight, bool bWrongSpell, - bool bToBeChained, bool bChainable); SdrTextAttribute(); diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx index ade835e6bef7..3d1c7533ee99 100644 --- a/include/svx/svdmodel.hxx +++ b/include/svx/svdmodel.hxx @@ -259,7 +259,7 @@ public: // If, however, you use objects inheriting from SdrObject you are free // to chose a pool of your liking. explicit SdrModel(); - explicit SdrModel(SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* pPers, bool bUseExtColorTable); + explicit SdrModel(SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* pPers); explicit SdrModel(const OUString& rPath, SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* pPers, bool bUseExtColorTable); virtual ~SdrModel(); void ClearModel(bool bCalledFromDestructor); diff --git a/include/vcl/tabctrl.hxx b/include/vcl/tabctrl.hxx index 4c57793bdd90..a79522a03586 100644 --- a/include/vcl/tabctrl.hxx +++ b/include/vcl/tabctrl.hxx @@ -199,7 +199,7 @@ class NotebookBar; class VCL_DLLPUBLIC NotebookbarTabControl : public TabControl { public: - NotebookbarTabControl( vcl::Window* pParent, WinBits nStyle = WB_STDTABCONTROL ); + NotebookbarTabControl( vcl::Window* pParent ); void SetContext( vcl::EnumContext::Context eContext ); void SetIconClickHdl( Link<NotebookBar*, void> aHdl ); |