summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-25 10:24:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-27 07:34:52 +0100
commit19240f625f8bd7b772481abc8e678d7b0fadd921 (patch)
treedf98eb1d1d2bf11179aea13de58aa38548458b9d /filter
parent60c7725a20ff0d77e3025ed60608f57d46e50b58 (diff)
loplugin:unusedfields look for classes where we can make all the..
fields private Change-Id: Id3c6b123f06ab5dcf87628de4c347626110d2d27 Reviewed-on: https://gerrit.libreoffice.org/68302 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/graphicfilter/icgm/bundles.hxx3
-rw-r--r--filter/source/graphicfilter/idxf/dxfblkrd.hxx4
-rw-r--r--filter/source/graphicfilter/idxf/dxfentrd.hxx8
-rw-r--r--filter/source/graphicfilter/idxf/dxftblrd.hxx4
4 files changed, 10 insertions, 9 deletions
diff --git a/filter/source/graphicfilter/icgm/bundles.hxx b/filter/source/graphicfilter/icgm/bundles.hxx
index bf98963358cd..80910adda578 100644
--- a/filter/source/graphicfilter/icgm/bundles.hxx
+++ b/filter/source/graphicfilter/icgm/bundles.hxx
@@ -160,13 +160,14 @@ class CGMFList
sal_uInt32 nCharSetCount;
::std::vector< std::unique_ptr<FontEntry> >
aFontEntryList;
+ sal_uInt32 nFontsAvailable;
+
void ImplDeleteList();
public:
CGMFList();
~CGMFList();
- sal_uInt32 nFontsAvailable;
FontEntry* GetFontEntry( sal_uInt32 );
void InsertName( sal_uInt8 const * pSource, sal_uInt32 nSize );
void InsertCharSet( CharSetType, sal_uInt8 const * pSource, sal_uInt32 nSize );
diff --git a/filter/source/graphicfilter/idxf/dxfblkrd.hxx b/filter/source/graphicfilter/idxf/dxfblkrd.hxx
index b406ac53f82c..5b8da4355678 100644
--- a/filter/source/graphicfilter/idxf/dxfblkrd.hxx
+++ b/filter/source/graphicfilter/idxf/dxfblkrd.hxx
@@ -54,11 +54,11 @@ public:
class DXFBlocks {
-public:
-
DXFBlock * pFirst;
// list of blocks, READ ONLY!
+public:
+
DXFBlocks();
~DXFBlocks();
diff --git a/filter/source/graphicfilter/idxf/dxfentrd.hxx b/filter/source/graphicfilter/idxf/dxfentrd.hxx
index f2aa8d3c90aa..3f6c4e46fa2e 100644
--- a/filter/source/graphicfilter/idxf/dxfentrd.hxx
+++ b/filter/source/graphicfilter/idxf/dxfentrd.hxx
@@ -207,8 +207,6 @@ protected:
class DXFShapeEntity : public DXFBasicEntity {
-public:
-
DXFVector aP0; // 10,20,30
double fSize; // 40
OString m_sName; // 2
@@ -216,6 +214,8 @@ public:
double fXScale; // 41
double fOblAngle; // 51
+public:
+
DXFShapeEntity();
protected:
@@ -248,8 +248,6 @@ protected:
class DXFAttDefEntity : public DXFBasicEntity {
-public:
-
DXFVector aP0; // 10,20,30
double fHeight; // 40
OString m_sDefVal; // 1
@@ -266,6 +264,8 @@ public:
long nVertJust; // 74
DXFVector aAlign; // 11,21,31
+public:
+
DXFAttDefEntity();
protected:
diff --git a/filter/source/graphicfilter/idxf/dxftblrd.hxx b/filter/source/graphicfilter/idxf/dxftblrd.hxx
index 0b1b099eb1c6..a2dfb1a6c0f0 100644
--- a/filter/source/graphicfilter/idxf/dxftblrd.hxx
+++ b/filter/source/graphicfilter/idxf/dxftblrd.hxx
@@ -142,13 +142,13 @@ public:
class DXFTables {
-public:
-
DXFLType * pLTypes; // list of line types
DXFLayer * pLayers; // list of layers
DXFStyle * pStyles; // list of styles
DXFVPort * pVPorts; // list of viewports
+public:
+
DXFTables();
~DXFTables();