diff options
Diffstat (limited to 'include/vcl/menu.hxx')
-rw-r--r-- | include/vcl/menu.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx index f865166c0b57..3d0e6cb09195 100644 --- a/include/vcl/menu.hxx +++ b/include/vcl/menu.hxx @@ -146,6 +146,7 @@ private: sal_uInt16 mnHighlightedItemPos; // for native menus: keeps track of the highlighted item MenuFlags nMenuFlags; sal_uInt16 nSelectedId; + OString sSelectedIdent; // for output: sal_uInt16 nImgOrChkPos; @@ -262,8 +263,7 @@ public: OString GetItemIdent(sal_uInt16 nItemId) const; MenuItemType GetItemType( sal_uInt16 nPos ) const; sal_uInt16 GetCurItemId() const { return nSelectedId;} - OString GetCurItemIdent() const; - OString GetItemIdentFromSubMenu(sal_uInt16 nItemId) const; + OString GetCurItemIdent() const { return sSelectedIdent; } void SetItemBits( sal_uInt16 nItemId, MenuItemBits nBits ); MenuItemBits GetItemBits( sal_uInt16 nItemId ) const; |