summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-30 13:57:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-01 08:13:06 +0100
commite7f6fdd5c3805469e1905b11d11d9b01bef477a9 (patch)
tree344fa8bceaad4eca3f4259eabafa86470c70fb51 /include
parent7522dc0f5ce4774f8947e588cda5b32e24553b43 (diff)
loplugin:unusedfields
The mnRequestedLength fields in formula/ were introduced in commit 6ef6dd0122b8e44d8547ec31f40def42173e4e41 Author: Kohei Yoshida <kohei.yoshida@collabora.com> Date: Wed Feb 26 14:32:57 2014 -0500 Store the length of originally requested array size prior to trimming. but then partially removed in commit d7f1f91b194da1cb96e66268ce7ef38602aa5754 Author: Noel Grandin <noel@peralex.com> Date: Mon Mar 3 13:29:43 2014 +0200 remove unused code in formula/vectortoken Change-Id: Ic56b6e42682131ee45df7838867145f980f3d601 Reviewed-on: https://gerrit.libreoffice.org/45571 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/formula/vectortoken.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/formula/vectortoken.hxx b/include/formula/vectortoken.hxx
index 61d4725916b3..5d995f71a130 100644
--- a/include/formula/vectortoken.hxx
+++ b/include/formula/vectortoken.hxx
@@ -62,11 +62,10 @@ struct FORMULA_DLLPUBLIC VectorRefArray
class FORMULA_DLLPUBLIC SingleVectorRefToken : public FormulaToken
{
VectorRefArray maArray;
- size_t mnRequestedLength;
size_t mnArrayLength;
public:
- SingleVectorRefToken( const VectorRefArray& rArray, size_t nReqLength, size_t nArrayLength );
+ SingleVectorRefToken( const VectorRefArray& rArray, size_t nArrayLength );
virtual FormulaToken* Clone() const override;
@@ -82,7 +81,6 @@ class FORMULA_DLLPUBLIC DoubleVectorRefToken : public FormulaToken
{
std::vector<VectorRefArray> maArrays;
- size_t mnRequestedLength; /// requested length of all arrays which include trailing empty region.
size_t mnArrayLength; /// length of all arrays which does not include trailing empty region.
size_t mnRefRowSize; /// original reference row size. The row size may
/// change as it goes down the array if either the
@@ -93,7 +91,7 @@ class FORMULA_DLLPUBLIC DoubleVectorRefToken : public FormulaToken
public:
DoubleVectorRefToken(
- const std::vector<VectorRefArray>& rArrays, size_t nReqLength, size_t nArrayLength,
+ const std::vector<VectorRefArray>& rArrays, size_t nArrayLength,
size_t nRefRowSize, bool bStartFixed, bool bEndFixed );
virtual FormulaToken* Clone() const override;