summaryrefslogtreecommitdiff
path: root/indra/newview/llchiclet.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-20 10:13:24 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-20 10:13:24 -0800
commitf38fa6a7357a91fcede3713cfce4971f0b0d5dfa (patch)
tree07ccb7b989cce22cfae95841802fc74d0749c040 /indra/newview/llchiclet.cpp
parentf009fbcb03e7d4e87d41f60e2873ffcbcb02354b (diff)
parent8758fac7124ff07f2a003bf5719c19a4dab170b9 (diff)
PE merge.
Diffstat (limited to 'indra/newview/llchiclet.cpp')
-rw-r--r--indra/newview/llchiclet.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llchiclet.cpp b/indra/newview/llchiclet.cpp
index 1d739f07b1..5497d6121f 100644
--- a/indra/newview/llchiclet.cpp
+++ b/indra/newview/llchiclet.cpp
@@ -1293,11 +1293,12 @@ void LLChicletPanel::onChicletClick(LLUICtrl*ctrl,const LLSD&param)
void LLChicletPanel::removeChiclet(chiclet_list_t::iterator it)
{
- mScrollArea->removeChild(*it);
+ LLChiclet* chiclet = *it;
+ mScrollArea->removeChild(chiclet);
mChicletList.erase(it);
arrange();
- (*it)->die();
+ chiclet->die();
}
void LLChicletPanel::removeChiclet(S32 index)