aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llfocusmgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llui/llfocusmgr.cpp')
-rw-r--r--linden/indra/llui/llfocusmgr.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/linden/indra/llui/llfocusmgr.cpp b/linden/indra/llui/llfocusmgr.cpp
index e2d1f46..517e148 100644
--- a/linden/indra/llui/llfocusmgr.cpp
+++ b/linden/indra/llui/llfocusmgr.cpp
@@ -120,7 +120,7 @@ void LLFocusMgr::setKeyboardFocus(LLUICtrl* new_focus, BOOL lock, BOOL keystroke
120 mFocusTimer.reset(); 120 mFocusTimer.reset();
121 121
122 #ifdef _DEBUG 122 #ifdef _DEBUG
123 mKeyboardFocusName = new_focus ? new_focus->getName() : "none"; 123 mKeyboardFocusName = new_focus ? new_focus->getName() : std::string("none");
124 #endif 124 #endif
125 125
126 // If we've got a default keyboard focus, and the caller is 126 // If we've got a default keyboard focus, and the caller is
@@ -202,7 +202,7 @@ void LLFocusMgr::removeKeyboardFocusWithoutCallback( const LLView* focus )
202 { 202 {
203 mKeyboardFocus = NULL; 203 mKeyboardFocus = NULL;
204 #ifdef _DEBUG 204 #ifdef _DEBUG
205 mKeyboardFocusName = "none"; 205 mKeyboardFocusName = std::string("none");
206 #endif 206 #endif
207 } 207 }
208} 208}
@@ -243,7 +243,7 @@ void LLFocusMgr::setMouseCapture( LLMouseHandler* new_captor )
243 } 243 }
244 244
245 #ifdef _DEBUG 245 #ifdef _DEBUG
246 mMouseCaptorName = new_captor ? new_captor->getName() : "none"; 246 mMouseCaptorName = new_captor ? new_captor->getName() : std::string("none");
247 #endif 247 #endif
248 } 248 }
249} 249}
@@ -258,7 +258,7 @@ void LLFocusMgr::removeMouseCaptureWithoutCallback( const LLMouseHandler* captor
258 { 258 {
259 mMouseCaptor = NULL; 259 mMouseCaptor = NULL;
260 #ifdef _DEBUG 260 #ifdef _DEBUG
261 mMouseCaptorName = "none"; 261 mMouseCaptorName = std::string("none");
262 #endif 262 #endif
263 } 263 }
264} 264}
@@ -289,7 +289,7 @@ void LLFocusMgr::setTopCtrl( LLUICtrl* new_top )
289 mTopCtrl = new_top; 289 mTopCtrl = new_top;
290 290
291 #ifdef _DEBUG 291 #ifdef _DEBUG
292 mTopCtrlName = new_top ? new_top->getName() : "none"; 292 mTopCtrlName = new_top ? new_top->getName() : std::string("none");
293 #endif 293 #endif
294 294
295 if (old_top) 295 if (old_top)
@@ -305,7 +305,7 @@ void LLFocusMgr::removeTopCtrlWithoutCallback( const LLUICtrl* top_view )
305 { 305 {
306 mTopCtrl = NULL; 306 mTopCtrl = NULL;
307 #ifdef _DEBUG 307 #ifdef _DEBUG
308 mTopCtrlName = "none"; 308 mTopCtrlName = std::string("none");
309 #endif 309 #endif
310 } 310 }
311} 311}