summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewnotecard.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-05-26 16:12:33 -0400
committerOz Linden <oz@lindenlab.com>2012-05-26 16:12:33 -0400
commitdbac37dcb50bf44255c2b622d418bb4339f1afca (patch)
treeacffbcb5984696e507243f939f6b9c5a951b755b /indra/newview/llpreviewnotecard.cpp
parent790dfda43472da75d17a848eb91e2dcecb2b96e7 (diff)
parentb2b446aed7f7f32151bc152ba25d44253ebf864f (diff)
merge latest viewer-release
Diffstat (limited to 'indra/newview/llpreviewnotecard.cpp')
-rw-r--r--indra/newview/llpreviewnotecard.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llpreviewnotecard.cpp b/indra/newview/llpreviewnotecard.cpp
index 4974dde282..3a9360fd23 100644
--- a/indra/newview/llpreviewnotecard.cpp
+++ b/indra/newview/llpreviewnotecard.cpp
@@ -29,7 +29,6 @@
#include "llpreviewnotecard.h"
#include "llinventory.h"
-#include "llinventoryfunctions.h" // for change_item_parent()
#include "llagent.h"
#include "llassetuploadresponders.h"
@@ -494,7 +493,7 @@ void LLPreviewNotecard::deleteNotecard()
if (item != NULL)
{
const LLUUID trash_id = gInventory.findCategoryUUIDForType(LLFolderType::FT_TRASH);
- change_item_parent(&gInventory, item, trash_id, FALSE);
+ gInventory.changeItemParent(item, trash_id, FALSE);
}
closeFloater();