summaryrefslogtreecommitdiff
path: root/vcl/source/control/ivctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/ivctrl.cxx')
-rw-r--r--vcl/source/control/ivctrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/ivctrl.cxx b/vcl/source/control/ivctrl.cxx
index f59e6784c7da..998a44888aee 100644
--- a/vcl/source/control/ivctrl.cxx
+++ b/vcl/source/control/ivctrl.cxx
@@ -547,7 +547,7 @@ void VerticalTabControl::SetCurPageId(const OString& rId)
collectUIInformation(get_id(),OStringToOUString(m_sCurrentPageId,RTL_TEXTENCODING_UTF8), GetPageParent()->get_id());
}
-OString VerticalTabControl::GetPageId(sal_uInt16 nIndex) const
+const OString & VerticalTabControl::GetPageId(sal_uInt16 nIndex) const
{
return maPageList[nIndex]->sId;
}