summaryrefslogtreecommitdiff
path: root/cui/source/inc/cuihyperdlg.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/inc/cuihyperdlg.hxx')
-rw-r--r--cui/source/inc/cuihyperdlg.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/inc/cuihyperdlg.hxx b/cui/source/inc/cuihyperdlg.hxx
index d5842369f45a..af0124239563 100644
--- a/cui/source/inc/cuihyperdlg.hxx
+++ b/cui/source/inc/cuihyperdlg.hxx
@@ -116,7 +116,7 @@ public:
void AddTabPage(const OString &rId, CreatePage pCreateFunc /* != NULL */);
void SetCurPageId( const OString& rId ) { msCurrentPageId = rId; SwitchPage(rId ); }
- OString GetCurPageId() const { return msCurrentPageId; }
+ const OString & GetCurPageId() const { return msCurrentPageId; }
void ShowPage( const OString& rId );
/// gives via map converted local slots if applicable