diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-09-08 16:34:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-08 20:44:25 +0100 |
commit | 7fd6d43c1dae1548aca5ae4ed6d63cbf7e10b7ea (patch) | |
tree | bfb79a7732e4948b871856a89c3affdc0877cc2a /sc | |
parent | a77a573883ce49d045159bdf3f8735594d1e81b4 (diff) |
Related: fdo#38838 String::GetBufferAccess is now no more
Change-Id: I9fdd600fd0a530c0763875109eee6600e4a77879
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/address.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/tool/address.cxx b/sc/source/core/tool/address.cxx index 0a3d919b98f1..f528b77b62f6 100644 --- a/sc/source/core/tool/address.cxx +++ b/sc/source/core/tool/address.cxx @@ -1398,9 +1398,9 @@ lcl_ScRange_Parse_OOo( ScRange &aRange, const String& r, ScDocument* pDoc, ScAdd xub_StrLen nPos = ScGlobal::FindUnquoted( r, ':'); if (nPos != STRING_NOTFOUND) { - String aTmp( r ); - sal_Unicode* p = aTmp.GetBufferAccess(); - p[ nPos ] = 0; + OUStringBuffer aTmp(r); + aTmp[nPos] = 0; + const sal_Unicode* p = aTmp.getStr(); if( (nRes1 = lcl_ScAddress_Parse_OOo( p, pDoc, aRange.aStart, pExtInfo, NULL ) ) != 0 ) { aRange.aEnd = aRange.aStart; // sheet must be initialized identical to first sheet |