diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-20 12:51:08 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-21 06:50:30 +0000 |
commit | 82b896f1f85b510eb72bb6d2f97d29defe1edf8b (patch) | |
tree | 758ff2379a5c99cc770d6b716e9c7e1c11e5ebcb /include/formula | |
parent | ab777c9cecc7377a7bdb0cda2eb26412021c7a73 (diff) |
loplugin:unusedmethods formula
Change-Id: I62ff278679638dda7e10c86c49b1966641418e8b
Reviewed-on: https://gerrit.libreoffice.org/17223
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/formula')
-rw-r--r-- | include/formula/FormulaCompiler.hxx | 3 | ||||
-rw-r--r-- | include/formula/IFunctionDescription.hxx | 3 | ||||
-rw-r--r-- | include/formula/formdata.hxx | 3 | ||||
-rw-r--r-- | include/formula/formula.hxx | 1 | ||||
-rw-r--r-- | include/formula/funcutl.hxx | 5 | ||||
-rw-r--r-- | include/formula/token.hxx | 2 | ||||
-rw-r--r-- | include/formula/tokenarray.hxx | 5 |
7 files changed, 0 insertions, 22 deletions
diff --git a/include/formula/FormulaCompiler.hxx b/include/formula/FormulaCompiler.hxx index 6f6645b2dd50..6d6ed22dfe54 100644 --- a/include/formula/FormulaCompiler.hxx +++ b/include/formula/FormulaCompiler.hxx @@ -144,9 +144,6 @@ public: be English as well)? */ inline bool isEnglish() const { return mbEnglish; } - /// Is it an internal core mapping, or setup by filters? - inline bool isCore() const { return mbCore; } - /// Is it an ODF 1.1 compatibility mapping? inline bool isPODF() const { return FormulaGrammar::isPODF( meGrammar); } diff --git a/include/formula/IFunctionDescription.hxx b/include/formula/IFunctionDescription.hxx index 85f42aaf9036..090054e9912e 100644 --- a/include/formula/IFunctionDescription.hxx +++ b/include/formula/IFunctionDescription.hxx @@ -52,7 +52,6 @@ namespace formula virtual sal_uInt32 getCount() const = 0; virtual const IFunctionCategory* getCategory(sal_uInt32 nPos) const = 0; virtual void fillLastRecentlyUsedFunctions(::std::vector< const IFunctionDescription*>& _rLastRUFunctions) const = 0; - virtual const IFunctionDescription* getFunctionByName(const OUString& _sFunctionName) const = 0; virtual sal_Unicode getSingleToken(const EToken _eToken) const = 0; @@ -64,7 +63,6 @@ namespace formula { public: IFunctionCategory(){} - virtual const IFunctionManager* getFunctionManager() const = 0; virtual sal_uInt32 getCount() const = 0; virtual const IFunctionDescription* getFunction(sal_uInt32 _nPos) const = 0; virtual sal_uInt32 getNumber() const = 0; @@ -119,7 +117,6 @@ namespace formula sal_uInt16 nFlag,sal_uLong nPos=0,IFormulaToken* pScToken=NULL) = 0; virtual OUString GetEntryText(SvTreeListEntry* pEntry) const = 0; - virtual SvTreeListEntry* GetParent(SvTreeListEntry* pEntry) const = 0; protected: ~IStructHelper() {} diff --git a/include/formula/formdata.hxx b/include/formula/formdata.hxx index 08271191befb..30c0ce5ce105 100644 --- a/include/formula/formdata.hxx +++ b/include/formula/formdata.hxx @@ -34,7 +34,6 @@ public: virtual ~FormEditData(); virtual void SaveValues(); - bool HasParent() const { return pParent != NULL; } inline sal_uInt16 GetMode() const { return nMode; } inline sal_Int32 GetFStart() const { return nFStart; } @@ -49,8 +48,6 @@ public: inline void SetMode( sal_uInt16 nNew ) { nMode = nNew; } inline void SetFStart( sal_Int32 nNew ) { nFStart = nNew; } - inline void SetCatSel( sal_uInt16 nNew ) { nCatSel = nNew; } - inline void SetFuncSel( sal_uInt16 nNew ) { nFuncSel = nNew; } inline void SetOffset( sal_uInt16 nNew ) { nOffset = nNew; } inline void SetEdFocus( sal_uInt16 nNew ) { nEdFocus = nNew; } inline void SetUndoStr( const OUString& rNew ) { aUndoStr = rNew; } diff --git a/include/formula/formula.hxx b/include/formula/formula.hxx index 658e532c1957..8a58c5b2f925 100644 --- a/include/formula/formula.hxx +++ b/include/formula/formula.hxx @@ -112,7 +112,6 @@ protected: void RefInputStartAfter( RefEdit* pEdit, RefButton* pButton = NULL ); void RefInputDoneAfter( bool bForced = false ); void SetFocusWin(vcl::Window *pWin,const OString& nUniqueId); - void HighlightFunctionParas(const OUString& aFormula); void SetMeText(const OUString& _sText); FormulaDlgMode SetMeText(const OUString& _sText, sal_Int32 PrivStart, sal_Int32 PrivEnd, bool bMatrix, bool _bSelect, bool _bUpdate); diff --git a/include/formula/funcutl.hxx b/include/formula/funcutl.hxx index 77b9386e43aa..2bde241f412d 100644 --- a/include/formula/funcutl.hxx +++ b/include/formula/funcutl.hxx @@ -67,11 +67,6 @@ public: void SetReferences( IControlReferenceHandler* pDlg, vcl::Window *pLabelWidget ); - IControlReferenceHandler* GetRefDialog() - { - return pAnyRefDlg; - } - vcl::Window* GetLabelWidgetForShrinkMode() { return pLabelWidget; diff --git a/include/formula/token.hxx b/include/formula/token.hxx index 6d6550b5df72..97213d723e17 100644 --- a/include/formula/token.hxx +++ b/include/formula/token.hxx @@ -194,8 +194,6 @@ public: static sal_Int32 GetStrLenBytes( sal_Int32 nLen ) { return nLen * sizeof(sal_Unicode); } - static sal_Int32 GetStrLenBytes( const OUString& rStr ) - { return GetStrLenBytes( rStr.getLength() ); } }; inline void intrusive_ptr_add_ref(const FormulaToken* p) diff --git a/include/formula/tokenarray.hxx b/include/formula/tokenarray.hxx index 6d577ea01555..7a745b6594ff 100644 --- a/include/formula/tokenarray.hxx +++ b/include/formula/tokenarray.hxx @@ -172,7 +172,6 @@ public: void DelRPN(); FormulaToken* First() { nIndex = 0; return Next(); } FormulaToken* Next(); - FormulaToken* FirstNoSpaces() { nIndex = 0; return NextNoSpaces(); } FormulaToken* NextNoSpaces(); FormulaToken* GetNextName(); FormulaToken* GetNextReference(); @@ -234,12 +233,8 @@ public: { SetMaskedRecalcMode( ScRecalcMode::ONLOAD_ONCE ); } inline void SetRecalcModeForced() { nMode |= ScRecalcMode::FORCED; } - inline void ClearRecalcModeForced() - { nMode &= ~ScRecalcMode::FORCED; } inline void SetRecalcModeOnRefMove() { nMode |= ScRecalcMode::ONREFMOVE; } - inline void ClearRecalcModeOnRefMove() - { nMode &= ~ScRecalcMode::ONREFMOVE; } inline bool IsRecalcModeNormal() const { return bool(nMode & ScRecalcMode::NORMAL); } inline bool IsRecalcModeAlways() const |