summaryrefslogtreecommitdiff
path: root/indra/newview/lltoolpipette.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/lltoolpipette.cpp')
-rw-r--r--indra/newview/lltoolpipette.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/lltoolpipette.cpp b/indra/newview/lltoolpipette.cpp
index 4fdd7cf7c9..36ac20bc59 100644
--- a/indra/newview/lltoolpipette.cpp
+++ b/indra/newview/lltoolpipette.cpp
@@ -48,7 +48,7 @@
LLToolPipette::LLToolPipette()
: LLTool(std::string("Pipette")),
- mSuccess(TRUE)
+ mSuccess(true)
{
}
@@ -59,20 +59,20 @@ LLToolPipette::~LLToolPipette()
bool LLToolPipette::handleMouseDown(S32 x, S32 y, MASK mask)
{
- mSuccess = TRUE;
+ mSuccess = true;
mTooltipMsg.clear();
- setMouseCapture(TRUE);
+ setMouseCapture(true);
gViewerWindow->pickAsync(x, y, mask, pickCallback);
return true;
}
bool LLToolPipette::handleMouseUp(S32 x, S32 y, MASK mask)
{
- mSuccess = TRUE;
+ mSuccess = true;
LLSelectMgr::getInstance()->unhighlightAll();
// *NOTE: This assumes the pipette tool is a transient tool.
LLToolMgr::getInstance()->clearTransientTool();
- setMouseCapture(FALSE);
+ setMouseCapture(false);
return true;
}
@@ -129,7 +129,7 @@ void LLToolPipette::pickCallback(const LLPickInfo& pick_info)
}
}
-void LLToolPipette::setResult(BOOL success, const std::string& msg)
+void LLToolPipette::setResult(bool success, const std::string& msg)
{
mTooltipMsg = msg;
mSuccess = success;