summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2025-11-04 15:57:20 +0200
committerGitHub <noreply@github.com>2025-11-04 15:57:20 +0200
commit675ad41f6cbe199e70e17432c500f6ad26244504 (patch)
tree73e3962bddd461930fcf06120940aa1f5a22cd77
parentb22900f28db4dd69059ea059a6ecf7837c61ede3 (diff)
#4411 fix occurrences of fake BOOL
-rw-r--r--indra/newview/llpaneldirbrowser.cpp16
-rw-r--r--indra/newview/llpaneldirevents.cpp2
-rw-r--r--indra/newview/llpaneldirland.cpp6
3 files changed, 12 insertions, 12 deletions
diff --git a/indra/newview/llpaneldirbrowser.cpp b/indra/newview/llpaneldirbrowser.cpp
index 8468520c11..2105becfb6 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;
@@ -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;
@@ -582,7 +582,7 @@ void LLPanelDirBrowser::processDirEventsReply(LLMessageSystem* msg, void**)
}
}
- self->mHaveSearchResults = TRUE;
+ self->mHaveSearchResults = true;
LLCtrlListInterface *list = self->childGetListInterface("results");
if (!list) return;
@@ -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;
@@ -812,7 +812,7 @@ void LLPanelDirBrowser::processDirClassifiedReply(LLMessageSystem* msg, void**)
}
}
- self->mHaveSearchResults = TRUE;
+ self->mHaveSearchResults = true;
LLCtrlListInterface *list = self->childGetListInterface("results");
if (!list) return;
@@ -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();
diff --git a/indra/newview/llpaneldirevents.cpp b/indra/newview/llpaneldirevents.cpp
index 63eba04296..eb02b3901d 100644
--- a/indra/newview/llpaneldirevents.cpp
+++ b/indra/newview/llpaneldirevents.cpp
@@ -75,7 +75,7 @@ bool LLPanelDirEvents::postBuild()
setDay(0); // for today
- return TRUE;
+ return true;
}
LLPanelDirEvents::~LLPanelDirEvents()
diff --git a/indra/newview/llpaneldirland.cpp b/indra/newview/llpaneldirland.cpp
index c4809fc2a6..53c58d8fa9 100644
--- a/indra/newview/llpaneldirland.cpp
+++ b/indra/newview/llpaneldirland.cpp
@@ -67,12 +67,12 @@ bool LLPanelDirLand::postBuild()
childSetVisible("incpg", true);
if (!mature_enabled)
{
- childSetValue("incmature", FALSE);
+ childSetValue("incmature", false);
childDisable("incmature");
}
if (!adult_enabled)
{
- childSetValue("incadult", FALSE);
+ childSetValue("incadult", false);
childDisable("incadult");
}
@@ -103,7 +103,7 @@ bool LLPanelDirLand::postBuild()
results->sortByColumn(mCurrentSortColumn,mCurrentSortAscending);
}
- return TRUE;
+ return true;
}
LLPanelDirLand::~LLPanelDirLand()