summaryrefslogtreecommitdiff
path: root/svx
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 /svx
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 'svx')
-rw-r--r--svx/inc/AccessibleTableShape.hxx2
-rw-r--r--svx/inc/sdr/contact/viewcontactofsdrpage.hxx3
2 files changed, 2 insertions, 3 deletions
diff --git a/svx/inc/AccessibleTableShape.hxx b/svx/inc/AccessibleTableShape.hxx
index 7f119bcb27a8..238687940dd1 100644
--- a/svx/inc/AccessibleTableShape.hxx
+++ b/svx/inc/AccessibleTableShape.hxx
@@ -49,6 +49,7 @@ namespace accessibility
> AccessibleTableShape_Base;
class AccessibleTableShape final : public AccessibleTableShape_Base, public css::accessibility::XAccessibleTableSelection
{
+ sal_Int32 mnPreviousSelectionCount;
public:
AccessibleTableShape( const AccessibleShapeInfo& rShapeInfo, const AccessibleShapeTreeInfo& rShapeTreeInfo );
virtual ~AccessibleTableShape( ) override;
@@ -113,7 +114,6 @@ public:
disposing (const css::lang::EventObject& Source) override;
virtual void SAL_CALL
selectionChanged (const css::lang::EventObject& rEvent) override;
- sal_Int32 mnPreviousSelectionCount;
using AccessibleShape::disposing;
friend class AccessibleTableHeaderShape;
diff --git a/svx/inc/sdr/contact/viewcontactofsdrpage.hxx b/svx/inc/sdr/contact/viewcontactofsdrpage.hxx
index 3fee4f3fce0a..6fa87cfd59b6 100644
--- a/svx/inc/sdr/contact/viewcontactofsdrpage.hxx
+++ b/svx/inc/sdr/contact/viewcontactofsdrpage.hxx
@@ -31,7 +31,6 @@ class ViewContactOfSdrPage;
class ViewContactOfPageSubObject : public ViewContact
{
-protected:
ViewContactOfSdrPage& mrParentViewContactOfSdrPage;
public:
@@ -159,7 +158,6 @@ public:
class ViewContactOfSdrPage : public ViewContact
{
-protected:
// the owner of this ViewContact. Set from constructor and not
// to be changed in any way.
SdrPage& mrPage;
@@ -177,6 +175,7 @@ protected:
ViewContactOfGrid maViewContactOfGridFront;
ViewContactOfHelplines maViewContactOfHelplinesFront;
+protected:
// Create a Object-Specific ViewObjectContact, set ViewContact and
// ObjectContact. Always needs to return something. Default is to create
// a standard ViewObjectContact containing the given ObjectContact and *this