summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authordolphin <dolphin@lindenlab.com>2014-03-25 10:23:33 -0700
committerdolphin <dolphin@lindenlab.com>2014-03-25 10:23:33 -0700
commitc82a884ef46a31a999f4f402efdc0f42d457f695 (patch)
treed96dc41f9f7810fe3af6055b3b4f1fd224b6d182 /indra
parent7b719792b0ab27c1c09000463d4c3743d1048eba (diff)
Fixed temporary reference
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llpanelexperiencelog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llpanelexperiencelog.cpp b/indra/newview/llpanelexperiencelog.cpp
index eeabab4c44..0c9f57b336 100644
--- a/indra/newview/llpanelexperiencelog.cpp
+++ b/indra/newview/llpanelexperiencelog.cpp
@@ -95,7 +95,7 @@ void LLPanelExperienceLog::refresh()
{
S32 selected = mEventList->getFirstSelectedIndex();
mEventList->deleteAllItems();
- const LLSD& events = LLExperienceLog::instance().getEvents();
+ const LLSD events = LLExperienceLog::instance().getEvents();
if(events.size() == 0)
{
@@ -134,7 +134,7 @@ void LLPanelExperienceLog::refresh()
moreItems = true;
break;
}
- const LLSD& event = dayArray[i];
+ const LLSD event = dayArray[i];
LLUUID id = event[LLExperienceCache::EXPERIENCE_ID].asUUID();
const LLSD& experience = LLExperienceCache::get(id);
if(experience.isUndefined()){
@@ -184,7 +184,7 @@ void LLPanelExperienceLog::refresh()
void LLPanelExperienceLog::onProfileExperience()
{
- LLSD& event = getSelectedEvent();
+ LLSD event = getSelectedEvent();
if(event.isDefined())
{
LLFloaterReg::showInstance("experience_profile", event[LLExperienceCache::EXPERIENCE_ID].asUUID(), true);
@@ -193,7 +193,7 @@ void LLPanelExperienceLog::onProfileExperience()
void LLPanelExperienceLog::onReportExperience()
{
- LLSD& event = getSelectedEvent();
+ LLSD event = getSelectedEvent();
if(event.isDefined())
{
LLFloaterReporter::showFromExperience(event[LLExperienceCache::EXPERIENCE_ID].asUUID());
@@ -202,7 +202,7 @@ void LLPanelExperienceLog::onReportExperience()
void LLPanelExperienceLog::onNotify()
{
- LLSD& event = getSelectedEvent();
+ LLSD event = getSelectedEvent();
if(event.isDefined())
{
LLExperienceLog::instance().notify(event);