From 17c936bca548acc93d6b2e70593bc711c0e6b8a4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 28 May 2018 11:27:37 +0200 Subject: loplugin:unusedfields-in-constructor in various Change-Id: Ie0fb647938e3cf730976fb2e435b92bfd67ef645 Reviewed-on: https://gerrit.libreoffice.org/54998 Tested-by: Jenkins Reviewed-by: Noel Grandin --- lotuswordpro/source/filter/bento.hxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lotuswordpro') 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 { -- cgit