summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtflde.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/txtflde.cxx')
-rw-r--r--xmloff/source/text/txtflde.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx
index 47dfb71a0bd9..f9c0769ead3e 100644
--- a/xmloff/source/text/txtflde.cxx
+++ b/xmloff/source/text/txtflde.cxx
@@ -3457,10 +3457,10 @@ OUString XMLTextFieldExport::MakeFootnoteRefName(
OUString XMLTextFieldExport::MakeSequenceRefName(
sal_Int16 nSeqNo,
- const OUString& rSeqName)
+ std::u16string_view rSeqName)
{
// generate foot-/endnote ID
- return "ref" +rSeqName + OUString::number(static_cast<sal_Int32>(nSeqNo));
+ return OUString::Concat("ref") +rSeqName + OUString::number(static_cast<sal_Int32>(nSeqNo));
}