diff options
Diffstat (limited to 'sc/source/core/tool/userlist.cxx')
-rw-r--r-- | sc/source/core/tool/userlist.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/core/tool/userlist.cxx b/sc/source/core/tool/userlist.cxx index e84a2db7bd6a..ae9977668e89 100644 --- a/sc/source/core/tool/userlist.cxx +++ b/sc/source/core/tool/userlist.cxx @@ -124,8 +124,7 @@ bool ScUserListData::GetSubIndex(const OUString& rSubStr, sal_uInt16& rIndex, bo } // When that fails, do a case insensitive search. - OUString aTmp = ScGlobal::pCharClass->uppercase(rSubStr); - OUString aUpStr = aTmp; + OUString aUpStr = ScGlobal::pCharClass->uppercase(rSubStr); itr = ::std::find_if( maSubStrings.begin(), maSubStrings.end(), FindByName(aUpStr, true)); if (itr != maSubStrings.end()) |