summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/rangeutl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/tool/rangeutl.cxx')
-rw-r--r--sc/source/core/tool/rangeutl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/rangeutl.cxx b/sc/source/core/tool/rangeutl.cxx
index dfcdb30875ee..401ad6ad5722 100644
--- a/sc/source/core/tool/rangeutl.cxx
+++ b/sc/source/core/tool/rangeutl.cxx
@@ -809,7 +809,7 @@ void ScRangeStringConverter::GetStringFromXMLRangeString( OUString& rString, con
{
// initialize buffer with table name...
sal_Int32 nDotPos = IndexOf(aBeginCell, '.', 0);
- OUStringBuffer aBuf = aBeginCell.copy(0, nDotPos);
+ OUStringBuffer aBuf(aBeginCell.subView(0, nDotPos));
if (nEndCellDotPos == 0)
{