diff options
Diffstat (limited to 'include/vcl/menubtn.hxx')
-rw-r--r-- | include/vcl/menubtn.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/menubtn.hxx b/include/vcl/menubtn.hxx index 90d42fc607fc..f087023af6aa 100644 --- a/include/vcl/menubtn.hxx +++ b/include/vcl/menubtn.hxx @@ -79,7 +79,7 @@ public: void SetPopover(Window* pWindow); sal_uInt16 GetCurItemId() const { return mnCurItemId; } - OString GetCurItemIdent() const { return msCurItemIdent; } + OString const & GetCurItemIdent() const { return msCurItemIdent; } void SetActivateHdl( const Link<MenuButton *, void>& rLink ) { maActivateHdl = rLink; } void SetSelectHdl( const Link<MenuButton *, void>& rLink ) { maSelectHdl = rLink; } |