summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xltools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/xltools.cxx')
-rw-r--r--sc/source/filter/excel/xltools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xltools.cxx b/sc/source/filter/excel/xltools.cxx
index 51b4278a14cd..e0713e4902b0 100644
--- a/sc/source/filter/excel/xltools.cxx
+++ b/sc/source/filter/excel/xltools.cxx
@@ -513,7 +513,7 @@ sal_Unicode XclTools::GetBuiltInDefNameIndex( const OUString& rDefName )
{
// name can be followed by underline or space character
xub_StrLen nNextCharPos = nPrefixLen + nBuiltInLen;
- sal_Unicode cNextChar = (rDefName.getLength() > nNextCharPos) ? rDefName.getStr()[nNextCharPos] : '\0';
+ sal_Unicode cNextChar = (rDefName.getLength() > nNextCharPos) ? rDefName[nNextCharPos] : '\0';
if( (cNextChar == '\0') || (cNextChar == ' ') || (cNextChar == '_') )
return cBuiltIn;
}