diff options
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index 98f607e6f07a..8606a4a24226 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -3231,9 +3231,9 @@ OUString SvNumberFormatter::GenerateFormat(sal_uInt32 nIndex, { sal_Int32 nIndexSep = ImpPosToken( sOldFormatString, ';', nIndexE ); if (nIndexSep > nIndexE) - sString.append( sOldFormatString.copy(nIndexE, nIndexSep - nIndexE) ); + sString.append( sOldFormatString.subView(nIndexE, nIndexSep - nIndexE) ); else - sString.append( sOldFormatString.copy(nIndexE) ); + sString.append( sOldFormatString.subView(nIndexE) ); } } else if (eType == SvNumFormatType::CURRENCY) |