summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorGraham Madarasz <graham@lindenlab.com>2013-06-05 14:26:27 -0700
committerGraham Madarasz <graham@lindenlab.com>2013-06-05 14:26:27 -0700
commitc38204f5e0a9130f0d4d4bfc997da107fd1017ce (patch)
treea00e997bdf63a6c43590366f1f8e6fe850cb01cf /indra/llui
parentd40acfb05a475c0e59bccacdde259fe53ecdb203 (diff)
Unwind cruft from hunting for 2707 they won't end up in vwr-dev-mat
Diffstat (limited to 'indra/llui')
-rwxr-xr-xindra/llui/llxuiparser.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/indra/llui/llxuiparser.cpp b/indra/llui/llxuiparser.cpp
index 4f3a2e0623..3ad5ad7d42 100755
--- a/indra/llui/llxuiparser.cpp
+++ b/indra/llui/llxuiparser.cpp
@@ -1311,7 +1311,8 @@ void LLXUIParser::parserWarning(const std::string& message)
#ifdef LL_WINDOWS
// use Visual Studo friendly formatting of output message for easy access to originating xml
llutf16string utf16str = utf8str_to_utf16str(llformat("%s(%d):\t%s", mCurFileName.c_str(), mCurReadNode->getLineNumber(), message.c_str()).c_str());
- LL_WINDOWS_OUTPUT_DEBUG(utf16str);
+ utf16str += '\n';
+ OutputDebugString(utf16str.c_str());
#else
Parser::parserWarning(message);
#endif
@@ -1321,7 +1322,8 @@ void LLXUIParser::parserError(const std::string& message)
{
#ifdef LL_WINDOWS
llutf16string utf16str = utf8str_to_utf16str(llformat("%s(%d):\t%s", mCurFileName.c_str(), mCurReadNode->getLineNumber(), message.c_str()).c_str());
- LL_WINDOWS_OUTPUT_DEBUG(utf16str);
+ utf16str += '\n';
+ OutputDebugString(utf16str.c_str());
#else
Parser::parserError(message);
#endif
@@ -1640,7 +1642,8 @@ void LLSimpleXUIParser::parserWarning(const std::string& message)
#ifdef LL_WINDOWS
// use Visual Studo friendly formatting of output message for easy access to originating xml
llutf16string utf16str = utf8str_to_utf16str(llformat("%s(%d):\t%s", mCurFileName.c_str(), LINE_NUMBER_HERE, message.c_str()).c_str());
- LL_WINDOWS_OUTPUT_DEBUG(utf16str);
+ utf16str += '\n';
+ OutputDebugString(utf16str.c_str());
#else
Parser::parserWarning(message);
#endif
@@ -1650,7 +1653,8 @@ void LLSimpleXUIParser::parserError(const std::string& message)
{
#ifdef LL_WINDOWS
llutf16string utf16str = utf8str_to_utf16str(llformat("%s(%d):\t%s", mCurFileName.c_str(), LINE_NUMBER_HERE, message.c_str()).c_str());
- LL_WINDOWS_OUTPUT_DEBUG(utf16str);
+ utf16str += '\n';
+ OutputDebugString(utf16str.c_str());
#else
Parser::parserError(message);
#endif