summaryrefslogtreecommitdiff
path: root/include/formula
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-07-25 13:32:04 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-25 06:37:42 +0000
commitb8064bdf7fabdbfd2546830f6fb8f0de6b8d4329 (patch)
treecb8c8db34a096467cf81c6ae0649a00032bb4a7f /include/formula
parent1e84b23839d96068c862e746c9162db79d2c8c62 (diff)
new loplugin: countusersofdefaultparams
Change-Id: I79e2c690f3e664c14af12cf763dd5a8ac20d6b04 Reviewed-on: https://gerrit.libreoffice.org/28353 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/formula')
-rw-r--r--include/formula/FormulaCompiler.hxx2
-rw-r--r--include/formula/IControlReferenceHandler.hxx2
-rw-r--r--include/formula/formula.hxx10
3 files changed, 7 insertions, 7 deletions
diff --git a/include/formula/FormulaCompiler.hxx b/include/formula/FormulaCompiler.hxx
index 0b2486b5f146..5d0e3daf64dc 100644
--- a/include/formula/FormulaCompiler.hxx
+++ b/include/formula/FormulaCompiler.hxx
@@ -317,7 +317,7 @@ protected:
void NotLine();
OpCode Expression();
void PopTokenArray();
- void PushTokenArray( FormulaTokenArray*, bool = false );
+ void PushTokenArray( FormulaTokenArray*, bool );
bool MergeRangeReference( FormulaToken * * const pCode1, FormulaToken * const * const pCode2 );
diff --git a/include/formula/IControlReferenceHandler.hxx b/include/formula/IControlReferenceHandler.hxx
index 38586f191fde..e1096c47ae38 100644
--- a/include/formula/IControlReferenceHandler.hxx
+++ b/include/formula/IControlReferenceHandler.hxx
@@ -33,7 +33,7 @@ namespace formula
virtual void ShowReference(const OUString& _sRef) = 0;
virtual void HideReference( bool bDoneRefMode = true ) = 0;
virtual void ReleaseFocus( RefEdit* pEdit ) = 0;
- virtual void ToggleCollapsed( RefEdit* pEdit, RefButton* pButton = nullptr ) = 0;
+ virtual void ToggleCollapsed( RefEdit* pEdit, RefButton* pButton ) = 0;
protected:
~IControlReferenceHandler() {}
diff --git a/include/formula/formula.hxx b/include/formula/formula.hxx
index 94b12c39276d..ac5aa57a70d8 100644
--- a/include/formula/formula.hxx
+++ b/include/formula/formula.hxx
@@ -75,8 +75,8 @@ private:
protected:
virtual bool PreNotify( NotifyEvent& rNEvt ) override;
- ::std::pair<RefButton*,RefEdit*> RefInputStartBefore( RefEdit* pEdit, RefButton* pButton = nullptr );
- void RefInputStartAfter( RefEdit* pEdit, RefButton* pButton = nullptr );
+ ::std::pair<RefButton*,RefEdit*> RefInputStartBefore( RefEdit* pEdit, RefButton* pButton );
+ void RefInputStartAfter( RefEdit* pEdit, RefButton* pButton );
void RefInputDoneAfter();
void SetMeText(const OUString& _sText);
@@ -114,9 +114,9 @@ protected:
protected:
virtual bool PreNotify( NotifyEvent& rNEvt ) override;
- ::std::pair<RefButton*,RefEdit*> RefInputStartBefore( RefEdit* pEdit, RefButton* pButton = nullptr );
- void RefInputStartAfter( RefEdit* pEdit, RefButton* pButton = nullptr );
- void RefInputDoneAfter( bool bForced = false );
+ ::std::pair<RefButton*,RefEdit*> RefInputStartBefore( RefEdit* pEdit, RefButton* pButton );
+ void RefInputStartAfter( RefEdit* pEdit, RefButton* pButton );
+ void RefInputDoneAfter( bool bForced );
void SetMeText(const OUString& _sText);
FormulaDlgMode SetMeText(const OUString& _sText, sal_Int32 PrivStart, sal_Int32 PrivEnd, bool bMatrix, bool _bSelect, bool _bUpdate);