diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-28 11:27:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-29 14:37:12 +0200 |
commit | 17c936bca548acc93d6b2e70593bc711c0e6b8a4 (patch) | |
tree | af43f36650ea199297988d705903d32501452605 /lotuswordpro/source | |
parent | d4992bb36efb15da91a70e86e68a80f13b97e947 (diff) |
loplugin:unusedfields-in-constructor in various
Change-Id: Ie0fb647938e3cf730976fb2e435b92bfd67ef645
Reviewed-on: https://gerrit.libreoffice.org/54998
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro/source')
-rw-r--r-- | lotuswordpro/source/filter/bento.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/bento.hxx b/lotuswordpro/source/filter/bento.hxx index 4608b9b21996..dd1692af1ce7 100644 --- a/lotuswordpro/source/filter/bento.hxx +++ b/lotuswordpro/source/filter/bento.hxx @@ -309,11 +309,11 @@ class CBenValueSegment : public CUtListElmt public: // Internal methods CBenValueSegment(CBenValue * pValue, BenContainerPos Pos, size_t Size) : CUtListElmt(&pValue->GetValueSegments()) - { cpValue = pValue; cImmediate = false; cPos = Pos; + { cImmediate = false; cPos = Pos; cSize = Size; } CBenValueSegment(CBenValue * pValue, const void * pImmData, unsigned short Size) : CUtListElmt(&pValue->GetValueSegments()) - { cpValue = pValue; cImmediate = true; + { cImmediate = true; std::memcpy(cImmData, pImmData, Size); cSize = Size; } bool IsImmediate() { return cImmediate; } BenContainerPos GetPosition() { return cPos; } @@ -321,7 +321,6 @@ public: // Internal methods BenByte * GetImmediateData() { return cImmData; } private: // Data - CBenValue * cpValue; bool cImmediate; union { |