summaryrefslogtreecommitdiff
path: root/include/formula
diff options
context:
space:
mode:
Diffstat (limited to 'include/formula')
-rw-r--r--include/formula/formula.hxx2
-rw-r--r--include/formula/tokenarray.hxx6
2 files changed, 3 insertions, 5 deletions
diff --git a/include/formula/formula.hxx b/include/formula/formula.hxx
index 760f4b3e10a9..37e474329627 100644
--- a/include/formula/formula.hxx
+++ b/include/formula/formula.hxx
@@ -72,7 +72,7 @@ protected:
void SetMeText(const OUString& _sText);
void Update();
- bool CheckMatrix(OUString& aFormula /*IN/OUT*/);
+ void CheckMatrix(OUString& aFormula /*IN/OUT*/);
void Update(const OUString& _sExp);
void StoreFormEditData(FormEditData* pData);
diff --git a/include/formula/tokenarray.hxx b/include/formula/tokenarray.hxx
index bf3056a392b3..d88f88437946 100644
--- a/include/formula/tokenarray.hxx
+++ b/include/formula/tokenarray.hxx
@@ -159,10 +159,8 @@ protected:
Start offset into pCode.
@param nCount
Count of tokens to remove.
-
- @return The actual number of tokens removed from pCode array.
*/
- sal_uInt16 RemoveToken( sal_uInt16 nOffset, sal_uInt16 nCount );
+ void RemoveToken( sal_uInt16 nOffset, sal_uInt16 nCount );
inline void SetCombinedBitsRecalcMode( ScRecalcMode nBits )
{ nMode |= (nBits & ~RECALCMODE_EMASK); }
@@ -304,7 +302,7 @@ public:
FormulaToken* AddString( const svl::SharedString& rStr );
FormulaToken* AddDouble( double fVal );
- FormulaToken* AddExternal( const sal_Unicode* pStr );
+ void AddExternal( const sal_Unicode* pStr );
/** Xcl import may play dirty tricks with OpCode!=ocExternal.
Others don't use! */
FormulaToken* AddExternal( const OUString& rStr, OpCode eOp = ocExternal );