summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerinventory.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2009-11-23 15:53:49 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2009-11-23 15:53:49 +0000
commita434e32097ca59c19a7c38aeae6b1991272569df (patch)
tree34237f1926aee21a80f977e5b363a7c0a8592b21 /indra/newview/llviewerinventory.cpp
parent21723e85677c69c4f78946d971bbf0e0c9cd37e5 (diff)
parent1b07c1d7fb5b6d3ce15083bc3dbb65a3f0ac8006 (diff)
merge.
Diffstat (limited to 'indra/newview/llviewerinventory.cpp')
-rw-r--r--indra/newview/llviewerinventory.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llviewerinventory.cpp b/indra/newview/llviewerinventory.cpp
index 089535dfab..87d256b60a 100644
--- a/indra/newview/llviewerinventory.cpp
+++ b/indra/newview/llviewerinventory.cpp
@@ -1336,6 +1336,12 @@ BOOL LLViewerInventoryItem::extractSortFieldAndDisplayName(const std::string& na
return result;
}
+void LLViewerInventoryItem::insertDefaultSortField(std::string& name)
+{
+ name.insert(0, std::string("1") + getSeparator());
+}
+
+
// This returns true if the item that this item points to
// doesn't exist in memory (i.e. LLInventoryModel). The baseitem
// might still be in the database but just not loaded yet.