diff options
author | Steve Bennetts <steve@lindenlab.com> | 2009-11-20 14:43:58 -0800 |
---|---|---|
committer | Steve Bennetts <steve@lindenlab.com> | 2009-11-20 14:43:58 -0800 |
commit | 0bdf520f4f399e1a368893db066d829b0ae3890e (patch) | |
tree | feb30880a5573ac39b2f7b360fce3835dec50569 /indra/newview/llviewerinventory.cpp | |
parent | 3bb86f91bc345f74057debe1f8f680098895a40e (diff) | |
parent | c9101f603a7969f4d46a7d8d911fa8805d926548 (diff) |
Merge from product-engine
Diffstat (limited to 'indra/newview/llviewerinventory.cpp')
-rw-r--r-- | indra/newview/llviewerinventory.cpp | 6 |
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. |