summaryrefslogtreecommitdiff
path: root/include/formula
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-17 12:43:20 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-18 06:01:25 +0000
commit9704207c386867d1859b06dd25232e06022965d9 (patch)
tree0a7b610b1fcfc2496455ba65ad67dcd4e5700999 /include/formula
parent6b84445e33cb13602a0da9ab92d382748bcbbd51 (diff)
loplugin:constantparam in formula
Change-Id: I3adeed435b62ae60b5d0d4b763dceced5675cd85 Reviewed-on: https://gerrit.libreoffice.org/23330 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/formula')
-rw-r--r--include/formula/FormulaCompiler.hxx11
-rw-r--r--include/formula/formula.hxx6
2 files changed, 5 insertions, 12 deletions
diff --git a/include/formula/FormulaCompiler.hxx b/include/formula/FormulaCompiler.hxx
index 24956d69c279..516d7f0efe14 100644
--- a/include/formula/FormulaCompiler.hxx
+++ b/include/formula/FormulaCompiler.hxx
@@ -105,12 +105,11 @@ public:
/** Copy mappings from r into this map, effectively replacing this map.
- @param bOverrideKnownBad
- If TRUE, override known legacy bad function names with
- correct ones if the conditions can be derived from the
- current maps.
+ Override known legacy bad function names with
+ correct ones if the conditions can be derived from the
+ current maps.
*/
- void copyFrom( const OpCodeMap& r, bool bOverrideKnownBad );
+ void copyFrom( const OpCodeMap& r );
/// Get the symbol String -> OpCode hash map for finds.
inline const OpCodeHashMap* getHashMap() const { return mpHashMap; }
@@ -278,7 +277,7 @@ protected:
virtual void fillAddInToken(::std::vector< css::sheet::FormulaOpCodeMapEntry >& _rVec, bool _bIsEnglish) const;
virtual void SetError(sal_uInt16 nError);
- virtual FormulaTokenRef ExtendRangeReference( FormulaToken & rTok1, FormulaToken & rTok2, bool bReuseDoubleRef );
+ virtual FormulaTokenRef ExtendRangeReference( FormulaToken & rTok1, FormulaToken & rTok2 );
virtual bool HandleExternalReference(const FormulaToken& _aToken);
virtual bool HandleRange();
virtual bool HandleColRowName();
diff --git a/include/formula/formula.hxx b/include/formula/formula.hxx
index db744b2e356f..2456cb00154e 100644
--- a/include/formula/formula.hxx
+++ b/include/formula/formula.hxx
@@ -50,9 +50,6 @@ class FORMULA_DLLPUBLIC FormulaModalDialog : public ModalDialog, public formul
friend class FormulaDlg_Impl;
public:
FormulaModalDialog( vcl::Window* pParent
- , bool _bSupportFunctionResult
- , bool _bSupportResult
- , bool _bSupportMatrix
,IFunctionManager* _pFunctionMgr
,IControlReferenceHandler* _pDlg = nullptr );
virtual ~FormulaModalDialog();
@@ -90,9 +87,6 @@ public:
FormulaDlg( SfxBindings* pB
, SfxChildWindow* pCW
, vcl::Window* pParent
- , bool _bSupportFunctionResult
- , bool _bSupportResult
- , bool _bSupportMatrix
, IFunctionManager* _pFunctionMgr
, IControlReferenceHandler* _pDlg = nullptr );
virtual ~FormulaDlg();