summaryrefslogtreecommitdiff
path: root/sw/source/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-09-15 11:24:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-09-15 11:30:42 +0200
commit3b48b3cc92c93911f61535d22a2c8731574ee51a (patch)
tree2602c98df9d414d803e94bf9f80780d4395b8d8f /sw/source/filter
parentb79b5e0df6dc5a0ba18054b0503d6fa804b69f02 (diff)
loplugin:singlevalfields in sc..vcl
Change-Id: I68752a3daf5ddd8581c07759b8be2c1dabbb9258
Diffstat (limited to 'sw/source/filter')
-rw-r--r--sw/source/filter/ww8/wrtww8.cxx2
-rw-r--r--sw/source/filter/ww8/wrtww8.hxx4
-rw-r--r--sw/source/filter/ww8/ww8par.cxx1
-rw-r--r--sw/source/filter/ww8/ww8par.hxx5
-rw-r--r--sw/source/filter/ww8/ww8scan.cxx1
-rw-r--r--sw/source/filter/ww8/ww8scan.hxx1
6 files changed, 3 insertions, 11 deletions
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx
index 56fd6e85d64a..08f12df116cf 100644
--- a/sw/source/filter/ww8/wrtww8.cxx
+++ b/sw/source/filter/ww8/wrtww8.cxx
@@ -3747,7 +3747,7 @@ void WW8SHDLong::Write( WW8Export& rExport )
{
rExport.InsUInt32( m_cvFore );
rExport.InsUInt32( m_cvBack );
- rExport.InsUInt16( m_ipat );
+ rExport.InsUInt16( 0 ); // ipat
}
void WW8Export::WriteFormData( const ::sw::mark::IFieldmark& rFieldmark )
diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx
index 426c5d25145a..35c08e1477f6 100644
--- a/sw/source/filter/ww8/wrtww8.hxx
+++ b/sw/source/filter/ww8/wrtww8.hxx
@@ -1576,11 +1576,9 @@ class WW8SHDLong
{
sal_uInt32 m_cvFore;
sal_uInt32 m_cvBack;
- sal_uInt16 m_ipat;
public:
- WW8SHDLong() : m_cvFore(0), m_cvBack(0), m_ipat(0) {}
- virtual ~WW8SHDLong() {}
+ WW8SHDLong() : m_cvFore(0), m_cvBack(0) {}
void Write(WW8Export & rExport);
void setCvFore(sal_uInt32 cvFore) { m_cvFore = cvFore; }
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index ad9f65143dfb..834714b27919 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -4199,7 +4199,6 @@ SwWW8ImplReader::SwWW8ImplReader(sal_uInt8 nVersionPara, SotStorage* pStorage,
, m_pSFlyPara(nullptr)
, m_pTableDesc(nullptr)
, m_pNumOlst(nullptr)
- , m_pNode_FLY_AT_PARA(nullptr)
, m_pDrawModel(nullptr)
, m_pDrawPg(nullptr)
, m_pDrawEditEngine(nullptr)
diff --git a/sw/source/filter/ww8/ww8par.hxx b/sw/source/filter/ww8/ww8par.hxx
index a8b344d0fd4d..ca835d9f5c83 100644
--- a/sw/source/filter/ww8/ww8par.hxx
+++ b/sw/source/filter/ww8/ww8par.hxx
@@ -650,7 +650,7 @@ public:
WW8FormulaControl(const OUString& rN, SwWW8ImplReader &rRdr)
: mrRdr(rRdr), mfUnknown(0), mfDropdownIndex(0),
mfToolTip(0), mfNoMark(0), mfUseSize(0), mfNumbersOnly(0), mfDateOnly(0),
- mfUnused(0), mnSize(0), mhpsCheckBox(20), mnChecked(0), mnMaxLen(0), msName( rN )
+ mfUnused(0), mhpsCheckBox(20), mnChecked(0), mnMaxLen(0), msName( rN )
{
}
sal_uInt8 mfUnknown:2;
@@ -661,7 +661,6 @@ public:
sal_uInt8 mfNumbersOnly:1;
sal_uInt8 mfDateOnly:1;
sal_uInt8 mfUnused:3;
- sal_uInt16 mnSize;
sal_uInt16 mhpsCheckBox;
sal_uInt16 mnChecked;
@@ -1234,8 +1233,6 @@ private:
ANLDRuleMap m_aANLDRules;
WW8_OLST* m_pNumOlst; // position in text
- SwNode* m_pNode_FLY_AT_PARA; // set: WW8SwFlyPara() read: CreateSwTable()
-
SdrModel* m_pDrawModel;
SdrPage* m_pDrawPg;
EditEngine* m_pDrawEditEngine;
diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index d8416b5d30f4..d3fcc1b37283 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -4602,7 +4602,6 @@ WW8PLCFMan::WW8PLCFMan(WW8ScannerBase* pBase, ManTypes nType, long nStartCp,
{
pWwFib = pBase->pWw8Fib;
- nLastWhereIdxCp = 0;
memset( aD, 0, sizeof( aD ) );
nLineEnd = WW8_CP_MAX;
nManType = nType;
diff --git a/sw/source/filter/ww8/ww8scan.hxx b/sw/source/filter/ww8/ww8scan.hxx
index cafc1f549801..7b4e69b0ecc2 100644
--- a/sw/source/filter/ww8/ww8scan.hxx
+++ b/sw/source/filter/ww8/ww8scan.hxx
@@ -916,7 +916,6 @@ private:
long nCpO; // Origin Cp -- the basis for nNewCp
WW8_CP nLineEnd; // points *after* the <CR>
- long nLastWhereIdxCp; // last result of WhereIdx()
sal_uInt16 nPLCF; // this many PLCFs are managed
ManTypes nManType;
bool mbDoingDrawTextBox; //Normally we adjust the end of attributes