summaryrefslogtreecommitdiff
path: root/sw/source/core/fields/cellfml.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/fields/cellfml.cxx')
-rw-r--r--sw/source/core/fields/cellfml.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/fields/cellfml.cxx b/sw/source/core/fields/cellfml.cxx
index 6f7c7789a848..cdff7c6fe588 100644
--- a/sw/source/core/fields/cellfml.cxx
+++ b/sw/source/core/fields/cellfml.cxx
@@ -673,12 +673,12 @@ OUString SwTableFormula::ScanString( FnScanFormula fnFormula, const SwTable& rTa
if (nStt<0 || nEnd<0 )
{
// set the rest and finish
- aStr.append(std::u16string_view(m_sFormula).substr(nFormula));
+ aStr.append(m_sFormula.subView(nFormula));
break;
}
// write beginning
- aStr.append(std::u16string_view(m_sFormula).substr(nFormula, nStt - nFormula));
+ aStr.append(m_sFormula.subView(nFormula, nStt - nFormula));
if (fnFormula)
{