diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-12 10:25:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-01-12 10:37:20 +0200 |
commit | 0078512edadbba9b8acefffce4c51220a3b00118 (patch) | |
tree | 8665b5d00aacdeda2d82af15321da43664e63380 /include/formula/tokenarray.hxx | |
parent | CppunitTest_xmlsecurity_signing: fix and enable on Windows (diff) | |
download | core-0078512edadbba9b8acefffce4c51220a3b00118.tar.gz core-0078512edadbba9b8acefffce4c51220a3b00118.zip |
loplugin:unusedmethods unused return value in include/formula
Change-Id: Ic5d6c11d955ef5ef53dea0bb4e5bec8167874a91
Diffstat (limited to 'include/formula/tokenarray.hxx')
-rw-r--r-- | include/formula/tokenarray.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
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 ); |