summaryrefslogtreecommitdiff
path: root/sc/source/ui/namedlg
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-02-23 03:20:53 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-02-23 03:21:40 +0900
commitdcd7dc43376c914027b76525959a9cea71d9279e (patch)
tree2c095c70c32729a5c96b9ff040d1efc27b80b8d8 /sc/source/ui/namedlg
parent938ddf379004d9696a005ed612994576e2d7cca0 (diff)
avoid temporary rtl::OUString
Diffstat (limited to 'sc/source/ui/namedlg')
-rw-r--r--sc/source/ui/namedlg/namemgrtable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/namedlg/namemgrtable.cxx b/sc/source/ui/namedlg/namemgrtable.cxx
index 2bc51896ca87..b94d8ae2db3d 100644
--- a/sc/source/ui/namedlg/namemgrtable.cxx
+++ b/sc/source/ui/namedlg/namemgrtable.cxx
@@ -133,7 +133,7 @@ void ScRangeManagerTable::Init()
{
const ScRangeName* pLocalRangeName = itr->second;
ScRangeNameLine aLine;
- if (itr->first == rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(STR_GLOBAL_RANGE_NAME)))
+ if (itr->first.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(STR_GLOBAL_RANGE_NAME)))
aLine.aScope = maGlobalString;
else
aLine.aScope = itr->first;