summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/client.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-21 15:32:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-28 08:49:54 +0200
commit7b850c15b15be10ed3b52822f63b02d8787bcb2f (patch)
treed209ae49fb21c94c752f325e389862706abc207e /sc/source/ui/inc/client.hxx
parent84dfff475c1f25319bc22c7b6ad437d5501a7dc4 (diff)
loplugin:unusedfields in sc part1
in ScNavigatorDlg::ScNavigatorDlg, we replace the assignment of nAreaId with an assignment to nDataId instead, which is never initialized but used, whereas nAreaId was initialized but never used. Change-Id: I9681af7f7d515d4891c9b52d3809e88e3d5e8256 Reviewed-on: https://gerrit.libreoffice.org/39062 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/inc/client.hxx')
-rw-r--r--sc/source/ui/inc/client.hxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/ui/inc/client.hxx b/sc/source/ui/inc/client.hxx
index 13d2a198c109..57a8a9c4fad7 100644
--- a/sc/source/ui/inc/client.hxx
+++ b/sc/source/ui/inc/client.hxx
@@ -31,7 +31,6 @@ class ScClient : public SfxInPlaceClient
{
private:
SdrModel* pModel;
- SdrGrafObj* pGrafEdit;
virtual void ObjectAreaChanged() override;
virtual void RequestNewObjectArea( tools::Rectangle& ) override;
@@ -41,7 +40,6 @@ public:
ScClient( ScTabViewShell* pViewShell, vcl::Window* pDraw, SdrModel* pSdrModel, SdrOle2Obj* pObj );
virtual ~ScClient() override;
- void SetGrafEdit(SdrGrafObj* pNew) { pGrafEdit = pNew; }
SdrOle2Obj* GetDrawObj();
};