diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-03 13:55:24 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-13 16:50:40 +0100 |
commit | b228332fe618b8776acec235f8d4cfce9a012bba (patch) | |
tree | 808b22d39a8ea015aed1f5cff940aa573e9d62eb /svx | |
parent | f9273f454bf18ee9451b8d5dc844fc8ea6e43c95 (diff) |
Move DBG_ERROR to OSL_FAIL for strings foo().GetBuffer()
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/fmsrcimp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/form/fmsrcimp.cxx b/svx/source/form/fmsrcimp.cxx index 3268199e1f7e..b16a6ab0632d 100644 --- a/svx/source/form/fmsrcimp.cxx +++ b/svx/source/form/fmsrcimp.cxx @@ -260,7 +260,7 @@ sal_Bool FmSearchEngine::MoveCursor() sDebugMessage.AssignAscii("FmSearchEngine::MoveCursor : catched a DatabaseException ("); sDebugMessage += (const sal_Unicode*)e.SQLState; sDebugMessage.AppendAscii(") !"); - DBG_ERROR(ByteString(sDebugMessage, RTL_TEXTENCODING_ASCII_US).GetBuffer()); + OSL_FAIL(ByteString(sDebugMessage, RTL_TEXTENCODING_ASCII_US).GetBuffer()); #endif bSuccess = sal_False; } @@ -271,7 +271,7 @@ sal_Bool FmSearchEngine::MoveCursor() sDebugMessage.AssignAscii("FmSearchEngine::MoveCursor : catched an Exception ("); sDebugMessage += (const sal_Unicode*)e.Message; sDebugMessage.AppendAscii(") !"); - DBG_ERROR(ByteString(sDebugMessage, RTL_TEXTENCODING_ASCII_US).GetBuffer()); + OSL_FAIL(ByteString(sDebugMessage, RTL_TEXTENCODING_ASCII_US).GetBuffer()); #endif bSuccess = sal_False; } |