diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-19 09:13:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-19 13:26:27 +0100 |
commit | be8c414567f49242164b1fdfb12764b16be355c1 (patch) | |
tree | c1f505272ec27e5e069f5d6964dc4f7b20150a5a /lotuswordpro | |
parent | be94207ecb88a9005ee6624e354d70c9613d7653 (diff) |
loplugin:unusedmethods also check for functions returning bool
we were previously excluding them
Change-Id: I48a68799b0de60b4995fae541eb363e043d4dd11
Reviewed-on: https://gerrit.libreoffice.org/48167
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwptblformula.cxx | 3 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwptblformula.hxx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/lwptblformula.cxx b/lotuswordpro/source/filter/lwptblformula.cxx index 7c9f0567a76c..8d0fcff0592e 100644 --- a/lotuswordpro/source/filter/lwptblformula.cxx +++ b/lotuswordpro/source/filter/lwptblformula.cxx @@ -114,7 +114,7 @@ void LwpFormulaInfo::ReadText() m_aStack.push_back(new LwpFormulaText(aText)); } -bool LwpFormulaInfo::ReadCellID() +void LwpFormulaInfo::ReadCellID() { LwpRowSpecifier RowSpecifier; LwpColumnSpecifier ColumnSpecifier; @@ -124,7 +124,6 @@ bool LwpFormulaInfo::ReadCellID() m_aStack.push_back( new LwpFormulaCellAddr(ColumnSpecifier.ColumnID(cColumn), RowSpecifier.RowID(m_nFormulaRow)) ); - return true; } void LwpFormulaInfo::ReadCellRange() diff --git a/lotuswordpro/source/filter/lwptblformula.hxx b/lotuswordpro/source/filter/lwptblformula.hxx index 800ad4020f20..d3135abb29f7 100644 --- a/lotuswordpro/source/filter/lwptblformula.hxx +++ b/lotuswordpro/source/filter/lwptblformula.hxx @@ -199,7 +199,7 @@ public: void Convert(XFCell * pCell, LwpTableLayout* pCellsMap=nullptr) override; private: void Read() override; - bool ReadCellID(); + void ReadCellID(); void ReadText(); void ReadCellRange(); void ReadExpression(); |