summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerregion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewerregion.cpp')
-rw-r--r--indra/newview/llviewerregion.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llviewerregion.cpp b/indra/newview/llviewerregion.cpp
index c33b39b449..d4e0831c33 100644
--- a/indra/newview/llviewerregion.cpp
+++ b/indra/newview/llviewerregion.cpp
@@ -560,9 +560,8 @@ const std::string LLViewerRegion::getSimAccessString() const
std::string LLViewerRegion::getLocalizedSimProductName() const
{
- const std::string& spn = getSimProductName();
std::string localized_spn;
- return LLTrans::findString(localized_spn, spn) ? localized_spn : spn;
+ return LLTrans::findString(localized_spn, mProductName) ? localized_spn : mProductName;
}
// static