summaryrefslogtreecommitdiff
path: root/include/sfx2/charwin.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-10 09:40:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-10 10:38:23 +0200
commite9586cf0b5fda0092fdca3ab4db470e8fd765adf (patch)
treee0340048f9eff52dd72ded1de84324fd6ae211b2 /include/sfx2/charwin.hxx
parent77e2d29bce92639498324814be56656f85a0f0fd (diff)
loplugin:unusedfield improvements
improve the read-only check to ignore reads from fields that are guarded by a boolean check, something like: if (field) field.foo(); this produces some false positives at the moment because I'm not correctly handling the else block, but also some useful new dead code. Change-Id: Id21fa1a56c171d09d979769b978b6eef14e8b695 Reviewed-on: https://gerrit.libreoffice.org/52664 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2/charwin.hxx')
-rw-r--r--include/sfx2/charwin.hxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/sfx2/charwin.hxx b/include/sfx2/charwin.hxx
index 976e1f3999cb..0db93a2f1302 100644
--- a/include/sfx2/charwin.hxx
+++ b/include/sfx2/charwin.hxx
@@ -91,8 +91,6 @@ public:
void setMouseClickHdl(const Link<SvxCharViewControl*,void> &rLink);
- DECL_LINK(ContextMenuSelectHdl, Menu*, bool);
-
protected:
virtual void Paint(vcl::RenderContext& rRenderContext, const ::tools::Rectangle&) override;
@@ -107,7 +105,6 @@ private:
bool maHasInsert;
Link<SvxCharViewControl*, void> maMouseClickHdl;
- Link<SvxCharViewControl*, void> maClearClickHdl;
};
#endif