diff options
author | simon <none@none> | 2014-05-07 15:28:13 -0700 |
---|---|---|
committer | simon <none@none> | 2014-05-07 15:28:13 -0700 |
commit | a5568f942b449e48cad71e92acd67eaa22dd5e5d (patch) | |
tree | f266b99c9663fda8001cbde48aa5a6b1b9d7db68 /indra/newview/llfloateroutbox.cpp | |
parent | 80a134ffcc68b277c10cc79dc9c7ca073148b41e (diff) | |
parent | dc4c184696b308b8f60fa1dd751b35e22bd47d62 (diff) |
Merge downstream version 3.7.8 code
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; |