aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterreporter.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:11 -0500
committerJacek Antonelli2008-08-15 23:45:11 -0500
commit215f423cbe18fe9ca14a26caef918d303bad28ff (patch)
tree0743442b286216cc8e19aa487c26f4e9345ffd64 /linden/indra/newview/llfloaterreporter.cpp
parentSecond Life viewer sources 1.18.3.5-RC (diff)
downloadmeta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.zip
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.gz
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.bz2
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.xz
Second Life viewer sources 1.18.4.0-RC
Diffstat (limited to 'linden/indra/newview/llfloaterreporter.cpp')
-rw-r--r--linden/indra/newview/llfloaterreporter.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/linden/indra/newview/llfloaterreporter.cpp b/linden/indra/newview/llfloaterreporter.cpp
index f37f8a0..a7cd211 100644
--- a/linden/indra/newview/llfloaterreporter.cpp
+++ b/linden/indra/newview/llfloaterreporter.cpp
@@ -2,6 +2,8 @@
2 * @file llfloaterreporter.cpp 2 * @file llfloaterreporter.cpp
3 * @brief Bug and abuse reports. 3 * @brief Bug and abuse reports.
4 * 4 *
5 * $LicenseInfo:firstyear=2002&license=viewergpl$
6 *
5 * Copyright (c) 2002-2007, Linden Research, Inc. 7 * Copyright (c) 2002-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "llviewerprecompiledheaders.h" 32#include "llviewerprecompiledheaders.h"
@@ -174,8 +177,8 @@ LLFloaterReporter::LLFloaterReporter(
174 setVisible(TRUE); 177 setVisible(TRUE);
175 178
176 // Default text to be blank 179 // Default text to be blank
177 childSetText("object_name", ""); 180 childSetText("object_name", LLString::null);
178 childSetText("owner_name", ""); 181 childSetText("owner_name", LLString::null);
179 182
180 childSetFocus("summary_edit"); 183 childSetFocus("summary_edit");
181 184
@@ -458,8 +461,8 @@ void LLFloaterReporter::onClickObjPicker(void *userdata)
458 gToolObjPicker->setExitCallback(LLFloaterReporter::closePickTool, self); 461 gToolObjPicker->setExitCallback(LLFloaterReporter::closePickTool, self);
459 gToolMgr->setTransientTool(gToolObjPicker); 462 gToolMgr->setTransientTool(gToolObjPicker);
460 self->mPicking = TRUE; 463 self->mPicking = TRUE;
461 self->childSetText("object_name", ""); 464 self->childSetText("object_name", LLString::null);
462 self->childSetText("owner_name", ""); 465 self->childSetText("owner_name", LLString::null);
463 LLButton* pick_btn = LLUICtrlFactory::getButtonByName(self, "pick_btn"); 466 LLButton* pick_btn = LLUICtrlFactory::getButtonByName(self, "pick_btn");
464 if (pick_btn) pick_btn->setToggleState(TRUE); 467 if (pick_btn) pick_btn->setToggleState(TRUE);
465} 468}
@@ -578,7 +581,7 @@ LLFloaterReporter* LLFloaterReporter::createNewBugReporter()
578 581
579 582
580 583
581void LLFloaterReporter::setPickedObjectProperties(const char *object_name, const char *owner_name, const LLUUID owner_id) 584void LLFloaterReporter::setPickedObjectProperties(const LLString& object_name, const LLString& owner_name, const LLUUID owner_id)
582{ 585{
583 childSetText("object_name", object_name); 586 childSetText("object_name", object_name);
584 childSetText("owner_name", owner_name); 587 childSetText("owner_name", owner_name);