summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorymodel.cpp
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2010-01-29 16:46:06 +0200
committerVadim Savchuk <vsavchuk@productengine.com>2010-01-29 16:46:06 +0200
commitdb4e46e93d06c03520cb7c781b8e41b6d374414d (patch)
tree05bbd6186f1008afec9baae673a8e8126d2573ad /indra/newview/llinventorymodel.cpp
parentd66d9afae1c7cd4484b72532c0103ce7a4db9e77 (diff)
parent53173419000ba1d14aa99c59353e91f700915e07 (diff)
Mere from default branch
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llinventorymodel.cpp')
-rw-r--r--indra/newview/llinventorymodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp
index 9e96bbc55f..bdf1ebddac 100644
--- a/indra/newview/llinventorymodel.cpp
+++ b/indra/newview/llinventorymodel.cpp
@@ -225,7 +225,7 @@ namespace LMSortPrefix
// mark item completed to avoid error while copying and updating server
inv_item->setComplete(TRUE);
- LLPointer<LLViewerInventoryItem> new_item = new LLViewerInventoryItem(inv_item);
+ LLPointer<LLViewerInventoryItem> new_item = new LLViewerInventoryItem(inv_item.get());
new_item->rename(display_name);
gInventory.updateItem(new_item);
new_item->updateServer(FALSE);