summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-18 12:02:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-18 13:47:29 +0200
commitfc48a4cf465a1ab74e279c2573c7ca68ad3f6fc7 (patch)
tree86df7ff84d35dc65f3a1614739c8f3fe74b2fb39 /include
parent3c695c5ba0741cd3b1d748f27a4f119d4fa7366c (diff)
msCommandName in ControllerItem is unused
ever since commit 1c5cae479bebd2d325182adc2c9821fd948fd1bd Date: Thu Apr 20 08:44:33 2017 +0200 loplugin:unusedmethods Change-Id: I7c02e8bf0ef377303dedf4e6690fd937f52a3605
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/sidebar/ControllerItem.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sfx2/sidebar/ControllerItem.hxx b/include/sfx2/sidebar/ControllerItem.hxx
index 183a6f900d78..23a94487706e 100644
--- a/include/sfx2/sidebar/ControllerItem.hxx
+++ b/include/sfx2/sidebar/ControllerItem.hxx
@@ -67,7 +67,7 @@ public:
Changes of this state are notified via the
ItemUpdateReceiverInterface::NotifyContextChang() method.
*/
- bool IsEnabled (const SfxItemState eState) const;
+ static bool IsEnabled (const SfxItemState eState);
/** Force the controller item to call its NotifyItemUpdate
callback with up-to-date data.
@@ -81,7 +81,6 @@ protected:
private:
ItemUpdateReceiverInterface& mrItemUpdateReceiver;
css::uno::Reference<css::lang::XComponent> mxFrameActionListener;
- const ::rtl::OUString msCommandName;
};
} } // end of namespace sfx2::sidebar