summaryrefslogtreecommitdiff
path: root/oox
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 /oox
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 'oox')
-rw-r--r--oox/inc/drawingml/misccontexts.hxx2
-rw-r--r--oox/inc/drawingml/textliststyle.hxx2
-rw-r--r--oox/source/drawingml/diagram/diagram.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/oox/inc/drawingml/misccontexts.hxx b/oox/inc/drawingml/misccontexts.hxx
index 1646cc6072bd..3aabbd15b54e 100644
--- a/oox/inc/drawingml/misccontexts.hxx
+++ b/oox/inc/drawingml/misccontexts.hxx
@@ -215,7 +215,7 @@ public:
const ::oox::AttributeList& rAttribs,
FillProperties& rFillProps );
-protected:
+private:
FillProperties& mrFillProps;
};
diff --git a/oox/inc/drawingml/textliststyle.hxx b/oox/inc/drawingml/textliststyle.hxx
index d4cc4556eabd..94b6b10dc569 100644
--- a/oox/inc/drawingml/textliststyle.hxx
+++ b/oox/inc/drawingml/textliststyle.hxx
@@ -49,7 +49,7 @@ public:
void dump() const;
#endif
-protected:
+private:
TextParagraphPropertiesVector maListStyle;
TextParagraphPropertiesVector maAggregationListStyle;
diff --git a/oox/source/drawingml/diagram/diagram.hxx b/oox/source/drawingml/diagram/diagram.hxx
index a0955b124230..91cb0f39fd2c 100644
--- a/oox/source/drawingml/diagram/diagram.hxx
+++ b/oox/source/drawingml/diagram/diagram.hxx
@@ -155,7 +155,6 @@ typedef std::map< OUString, css::uno::Reference<css::xml::dom::XDocument> > Diag
class DiagramData
{
public:
- ::std::vector<OUString> maExtDrawings;
typedef std::map< OUString, dgm::Point* > PointNameMap;
typedef std::map< OUString,
std::vector<dgm::Point*> > PointsNameMap;
@@ -193,6 +192,7 @@ public:
{ mnMaxDepth = nDepth; }
void dump() const;
private:
+ ::std::vector<OUString> maExtDrawings;
FillPropertiesPtr mpFillProperties;
dgm::Connections maConnections;
dgm::Points maPoints;