summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/numfmt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/tabpages/numfmt.cxx')
-rw-r--r--cui/source/tabpages/numfmt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index d078e82f9f85..ab05111e7b95 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -1016,7 +1016,7 @@ void SvxNumberFormatTabPage::UpdateFormatListBox_Impl
{
if(bUpdateEdit)
{
- OUString aFormat=aEntryList[nFmtLbSelPos];
+ const OUString& aFormat=aEntryList[nFmtLbSelPos];
m_xEdFormat->set_text(aFormat);
m_xFtComment->set_label(pNumFmtShell->GetComment4Entry(nFmtLbSelPos));
}