diff options
Diffstat (limited to 'indra/llui/lltexteditor.cpp')
| -rw-r--r-- | indra/llui/lltexteditor.cpp | 16 | 
1 files changed, 8 insertions, 8 deletions
| diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp index 137167db2a..b1f8b00cab 100644 --- a/indra/llui/lltexteditor.cpp +++ b/indra/llui/lltexteditor.cpp @@ -1045,7 +1045,7 @@ void LLTextEditor::removeCharOrTab()  	}  	else  	{ -		LLUI::reportBadKeystroke(); +		LLUI::getInstance()->reportBadKeystroke();  	}  } @@ -1068,7 +1068,7 @@ void LLTextEditor::removeChar()  	}  	else  	{ -		LLUI::reportBadKeystroke(); +		LLUI::getInstance()->reportBadKeystroke();  	}  } @@ -1315,7 +1315,7 @@ BOOL LLTextEditor::handleNavigationKey(const KEY key, const MASK mask)  				}  				else  				{ -					LLUI::reportBadKeystroke(); +					LLUI::getInstance()->reportBadKeystroke();  				}  			}  			break; @@ -1333,7 +1333,7 @@ BOOL LLTextEditor::handleNavigationKey(const KEY key, const MASK mask)  				}  				else  				{ -					LLUI::reportBadKeystroke(); +					LLUI::getInstance()->reportBadKeystroke();  				}  			}	  			break; @@ -1665,7 +1665,7 @@ BOOL LLTextEditor::handleSpecialKey(const KEY key, const MASK mask)  		}  		else  		{ -			LLUI::reportBadKeystroke(); +			LLUI::getInstance()->reportBadKeystroke();  		}  		break; @@ -2750,7 +2750,7 @@ BOOL LLTextEditor::getPreeditLocation(S32 query_offset, LLCoordGL *coord, LLRect  	{  		LLRect control_rect_screen;  		localRectToScreen(mVisibleTextRect, &control_rect_screen); -		LLUI::screenRectToGL(control_rect_screen, control); +		LLUI::getInstance()->screenRectToGL(control_rect_screen, control);  	}  	S32 preedit_left_position, preedit_right_position; @@ -2804,7 +2804,7 @@ BOOL LLTextEditor::getPreeditLocation(S32 query_offset, LLCoordGL *coord, LLRect  		const S32 query_y = mVisibleTextRect.mTop - (current_line - first_visible_line) * line_height - line_height / 2;  		S32 query_screen_x, query_screen_y;  		localPointToScreen(query_x, query_y, &query_screen_x, &query_screen_y); -		LLUI::screenPointToGL(query_screen_x, query_screen_y, &coord->mX, &coord->mY); +		LLUI::getInstance()->screenPointToGL(query_screen_x, query_screen_y, &coord->mX, &coord->mY);  	}  	if (bounds) @@ -2831,7 +2831,7 @@ BOOL LLTextEditor::getPreeditLocation(S32 query_offset, LLCoordGL *coord, LLRect  		const LLRect preedit_rect_local(preedit_left, preedit_top, preedit_right, preedit_bottom);  		LLRect preedit_rect_screen;  		localRectToScreen(preedit_rect_local, &preedit_rect_screen); -		LLUI::screenRectToGL(preedit_rect_screen, bounds); +		LLUI::getInstance()->screenRectToGL(preedit_rect_screen, bounds);  	}  	return TRUE; | 
