summaryrefslogtreecommitdiff
path: root/include/vcl/menu.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-09 10:09:42 +0200
committerNoel Grandin <noel@peralex.com>2014-06-09 10:10:13 +0200
commit184a00b96235f6432294ded63ce4a4a318effdb5 (patch)
treee4ae0e00cb168fa43d280cfb51a50515258b5320 /include/vcl/menu.hxx
parent534015ad4fd08823b4393dab1ad5d42dedd7bf62 (diff)
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
Diffstat (limited to 'include/vcl/menu.hxx')
-rw-r--r--include/vcl/menu.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx
index ac3c84ba0761..d7b3550cfe4d 100644
--- a/include/vcl/menu.hxx
+++ b/include/vcl/menu.hxx
@@ -234,7 +234,7 @@ public:
sal_uInt16 GetItemPos( sal_uInt16 nItemId ) const;
OString GetItemIdent(sal_uInt16 nItemId) const;
MenuItemType GetItemType( sal_uInt16 nPos ) const;
- sal_uInt16 GetCurItemId() const;
+ sal_uInt16 GetCurItemId() const { return nSelectedId;}
OString GetCurItemIdent() const;
void SetHighlightItem(sal_uInt16 nHighlightedItem);