summaryrefslogtreecommitdiff
path: root/include/vcl/menu.hxx
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2016-09-01 10:19:04 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2016-09-01 09:39:52 +0000
commit671ac3a9221598febdc6304fceabbb2ade86f41e (patch)
treef9561e28ab36d4c9813698d233c02e7e4b62075a /include/vcl/menu.hxx
parent662f5a5a16339ecda071ea6b95afefeea63c4fe9 (diff)
Looks like the menu highlight handler is now unused
Change-Id: I75ff4bce35e7940e07b760f672e08ffe0dd208f8 Reviewed-on: https://gerrit.libreoffice.org/28580 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'include/vcl/menu.hxx')
-rw-r--r--include/vcl/menu.hxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx
index 989d852f0a6f..efb55d52b65a 100644
--- a/include/vcl/menu.hxx
+++ b/include/vcl/menu.hxx
@@ -140,8 +140,7 @@ private:
Link<Menu*, bool> aActivateHdl; // Active-Handler
Link<Menu*, bool> aDeactivateHdl; // Deactivate-Handler
- Link<Menu*, bool> aHighlightHdl; // Highlight-Handler
- Link<Menu*, bool> aSelectHdl; // Highlight-Handler
+ Link<Menu*, bool> aSelectHdl; // Select-Handler
std::list<Link<VclMenuEvent&,void> > maEventListeners;
@@ -235,7 +234,6 @@ public:
void Activate();
void Deactivate();
- virtual void Highlight();
virtual void Select();
void InsertItem(sal_uInt16 nItemId, const OUString& rStr,
@@ -344,11 +342,6 @@ public:
aDeactivateHdl = rLink;
}
- void SetHighlightHdl( const Link<Menu *, bool>& rLink )
- {
- aHighlightHdl = rLink;
- }
-
void SetSelectHdl( const Link<Menu*,bool>& rLink )
{
aSelectHdl = rLink;