summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerregion.cpp
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2011-07-25 23:46:28 +0300
committerVadim ProductEngine <vsavchuk@productengine.com>2011-07-25 23:46:28 +0300
commit7e405ef0e3efce400db53ddc16d367680da659c9 (patch)
tree1c70856136f90e787a7ef2d62aa3ffc4f5221c4b /indra/newview/llviewerregion.cpp
parentc645e9e59e9e0a83a25f2c782ac79c21d519939e (diff)
STORM-1220 FOLLOWUP Prevent displaying unlocalized sim product name.
Removed LLViewerRegion::getSimProductName() so that it doesn't mistakenly get used in UI code, thus causing localization bugs.
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