summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorybridge.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rw-r--r--indra/newview/llinventorybridge.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index e930af2d27..aa6d747622 100644
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -2283,11 +2283,11 @@ bool LLItemBridge::isFavorite() const
LLInventoryModel* model = getInventoryModel();
if (model)
{
- item = (LLViewerInventoryItem*)model->getItem(mUUID);
+ item = model->getItem(mUUID);
}
if (item)
{
- return item->getIsFavorite();
+ return get_is_favorite(item);
}
return false;
}