summaryrefslogtreecommitdiff
path: root/indra/newview/llpaneldirbrowser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpaneldirbrowser.cpp')
-rw-r--r--indra/newview/llpaneldirbrowser.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/indra/newview/llpaneldirbrowser.cpp b/indra/newview/llpaneldirbrowser.cpp
index 8468520c11..8c981cad55 100644
--- a/indra/newview/llpaneldirbrowser.cpp
+++ b/indra/newview/llpaneldirbrowser.cpp
@@ -295,7 +295,7 @@ void LLPanelDirBrowser::onCommitList(LLUICtrl* ctrl, void* data)
self->mFloaterDirectory->hideAllDetailPanels();
}
- if (FALSE == list->getCanSelect())
+ if (!list->getCanSelect())
{
return;
}
@@ -403,7 +403,7 @@ void LLPanelDirBrowser::processDirPeopleReply(LLMessageSystem *msg, void**)
return;
}
- self->mHaveSearchResults = TRUE;
+ self->mHaveSearchResults = true;
LLCtrlListInterface *list = self->childGetListInterface("results");
if (!list) return;
@@ -422,7 +422,7 @@ void LLPanelDirBrowser::processDirPeopleReply(LLMessageSystem *msg, void**)
for (S32 i = 0; i < rows; i++)
{
msg->getStringFast(_PREHASH_QueryReplies,_PREHASH_FirstName, first_name, i);
- msg->getStringFast(_PREHASH_QueryReplies,_PREHASH_LastName, last_name, i);
+ msg->getStringFast(_PREHASH_QueryReplies,_PREHASH_LastName, last_name, i);
msg->getUUIDFast( _PREHASH_QueryReplies,_PREHASH_AgentID, agent_id, i);
// msg->getU8Fast( _PREHASH_QueryReplies,_PREHASH_Online, online, i);
// unused
@@ -469,10 +469,10 @@ void LLPanelDirBrowser::processDirPeopleReply(LLMessageSystem *msg, void**)
void LLPanelDirBrowser::processDirPlacesReply(LLMessageSystem* msg, void**)
{
- LLUUID agent_id;
- LLUUID query_id;
- LLUUID parcel_id;
- std::string name;
+ LLUUID agent_id;
+ LLUUID query_id;
+ LLUUID parcel_id;
+ std::string name;
bool is_for_sale = false;
bool is_auction = false;
F32 dwell;
@@ -497,7 +497,7 @@ void LLPanelDirBrowser::processDirPlacesReply(LLMessageSystem* msg, void**)
return;
}
- self->mHaveSearchResults = TRUE;
+ self->mHaveSearchResults = true;
LLCtrlListInterface *list = self->childGetListInterface("results");
if (!list) return;
@@ -557,8 +557,8 @@ void LLPanelDirBrowser::processDirEventsReply(LLMessageSystem* msg, void**)
LLUUID agent_id;
LLUUID query_id;
LLUUID owner_id;
- std::string name;
- std::string date;
+ std::string name;
+ std::string date;
bool show_pg = gSavedSettings.getBOOL("ShowPGEvents");
bool show_mature = gSavedSettings.getBOOL("ShowMatureEvents");
bool show_adult = gSavedSettings.getBOOL("ShowAdultEvents");
@@ -582,7 +582,7 @@ void LLPanelDirBrowser::processDirEventsReply(LLMessageSystem* msg, void**)
}
}
- self->mHaveSearchResults = TRUE;
+ self->mHaveSearchResults = true;
LLCtrlListInterface *list = self->childGetListInterface("results");
if (!list) return;
@@ -703,7 +703,7 @@ void LLPanelDirBrowser::processDirGroupsReply(LLMessageSystem* msg, void**)
LLUUID query_id;
LLUUID group_id;
- std::string group_name;
+ std::string group_name;
S32 members;
F32 search_order;
@@ -715,7 +715,7 @@ void LLPanelDirBrowser::processDirGroupsReply(LLMessageSystem* msg, void**)
return;
}
- self->mHaveSearchResults = TRUE;
+ self->mHaveSearchResults = true;
LLCtrlListInterface *list = self->childGetListInterface("results");
if (!list) return;
@@ -733,10 +733,10 @@ void LLPanelDirBrowser::processDirGroupsReply(LLMessageSystem* msg, void**)
for (i = 0; i < rows; i++)
{
- msg->getUUIDFast(_PREHASH_QueryReplies, _PREHASH_GroupID, group_id, i );
- msg->getStringFast(_PREHASH_QueryReplies, _PREHASH_GroupName, group_name, i);
- msg->getS32Fast(_PREHASH_QueryReplies, _PREHASH_Members, members, i );
- msg->getF32Fast(_PREHASH_QueryReplies, _PREHASH_SearchOrder, search_order, i );
+ msg->getUUIDFast(_PREHASH_QueryReplies, _PREHASH_GroupID, group_id, i );
+ msg->getStringFast(_PREHASH_QueryReplies, _PREHASH_GroupName, group_name, i);
+ msg->getS32Fast(_PREHASH_QueryReplies, _PREHASH_Members, members, i );
+ msg->getF32Fast(_PREHASH_QueryReplies, _PREHASH_SearchOrder, search_order, i );
if (group_id.isNull())
{
@@ -812,7 +812,7 @@ void LLPanelDirBrowser::processDirClassifiedReply(LLMessageSystem* msg, void**)
}
}
- self->mHaveSearchResults = TRUE;
+ self->mHaveSearchResults = true;
LLCtrlListInterface *list = self->childGetListInterface("results");
if (!list) return;
@@ -831,8 +831,8 @@ void LLPanelDirBrowser::processDirClassifiedReply(LLMessageSystem* msg, void**)
{
LLUUID classified_id;
std::string name;
- U32 creation_date = 0; // unix timestamp
- U32 expiration_date = 0; // future use
+ U32 creation_date = 0; // unix timestamp
+ U32 expiration_date = 0; // future use
S32 price_for_listing = 0;
msg->getUUID("QueryReplies", "ClassifiedID", classified_id, i);
msg->getString("QueryReplies", "Name", name, i);
@@ -863,7 +863,7 @@ void LLPanelDirBrowser::processDirLandReply(LLMessageSystem *msg, void**)
LLUUID agent_id;
LLUUID query_id;
LLUUID parcel_id;
- std::string name;
+ std::string name;
std::string land_sku;
std::string land_type;
bool auction = false;
@@ -884,7 +884,7 @@ void LLPanelDirBrowser::processDirLandReply(LLMessageSystem *msg, void**)
// Only handled by LLPanelDirLand
LLPanelDirLand* self = (LLPanelDirLand*)browser;
- self->mHaveSearchResults = TRUE;
+ self->mHaveSearchResults = true;
LLCtrlListInterface *list = self->childGetListInterface("results");
if (!list) return;
@@ -1078,7 +1078,7 @@ void LLPanelDirBrowser::setupNewSearch()
list->setEnabled(false);
mResultsReceived = 0;
- mHaveSearchResults = FALSE;
+ mHaveSearchResults = false;
// Set all panels to be invisible
mFloaterDirectory->hideAllDetailPanels();