diff options
author | Oz Linden <oz@lindenlab.com> | 2014-05-07 11:09:04 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2014-05-07 11:09:04 -0400 |
commit | a98b4b6bee1b062722ce5eb03948a0fd33b74265 (patch) | |
tree | 88c030cef0c480f19ab9ff0a187b5c866da3a24a /indra/newview/llfloateroutbox.cpp | |
parent | 9353868d91dfe2c4539c81c0b96bfe9efb497b2c (diff) | |
parent | d0ef02c23a7a37c8c9bfe3a86bae88bb811fc9fe (diff) |
merge changes for 3.7.7-release
Diffstat (limited to 'indra/newview/llfloateroutbox.cpp')
-rwxr-xr-x | indra/newview/llfloateroutbox.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llfloateroutbox.cpp b/indra/newview/llfloateroutbox.cpp index de96f75602..e5efca1102 100755 --- a/indra/newview/llfloateroutbox.cpp +++ b/indra/newview/llfloateroutbox.cpp @@ -235,7 +235,7 @@ void LLFloaterOutbox::setupOutbox() if (outbox_id.isNull()) { // We should never get there unless the inventory fails badly - llerrs << "Inventory problem: failure to create the outbox for a merchant!" << llendl; + LL_ERRS() << "Inventory problem: failure to create the outbox for a merchant!" << LL_ENDL; return; } @@ -245,7 +245,7 @@ void LLFloaterOutbox::setupOutbox() if (outbox_id == mOutboxId) { - llwarns << "Inventory warning: Merchant outbox already set" << llendl; + LL_WARNS() << "Inventory warning: Merchant outbox already set" << LL_ENDL; return; } mOutboxId = outbox_id; @@ -319,7 +319,7 @@ void LLFloaterOutbox::updateFolderCount() { if (mOutboxInventoryPanel.get() && mOutboxId.notNull()) { - S32 item_count = 0; + U32 item_count = 0; if (mOutboxId.notNull()) { @@ -327,7 +327,7 @@ void LLFloaterOutbox::updateFolderCount() LLInventoryModel::item_array_t * items; gInventory.getDirectDescendentsOf(mOutboxId, cats, items); - item_count = cats->count() + items->count(); + item_count = cats->size() + items->size(); } mOutboxItemCount = item_count; |