diff options
Diffstat (limited to 'sc/source/core/tool/reffind.cxx')
-rw-r--r-- | sc/source/core/tool/reffind.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/reffind.cxx b/sc/source/core/tool/reffind.cxx index 9702da631d47..e442be66ca75 100644 --- a/sc/source/core/tool/reffind.cxx +++ b/sc/source/core/tool/reffind.cxx @@ -324,9 +324,9 @@ void ScRefFinder::ToggleRel( sal_Int32 nStartPos, sal_Int32 nEndPos ) nLoopStart = nEEnd; } - OUString aTotal = maFormula.copy(0, nStartPos) + aResult.makeStringAndClear(); + OUString aTotal = maFormula.subView(0, nStartPos) + aResult.makeStringAndClear(); if (nEndPos < maFormula.getLength()-1) - aTotal += maFormula.copy(nEndPos+1); + aTotal += maFormula.subView(nEndPos+1); maFormula = aTotal; } |