summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-03 13:55:24 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-13 16:50:40 +0100
commitb228332fe618b8776acec235f8d4cfce9a012bba (patch)
tree808b22d39a8ea015aed1f5cff940aa573e9d62eb /svx
parentf9273f454bf18ee9451b8d5dc844fc8ea6e43c95 (diff)
Move DBG_ERROR to OSL_FAIL for strings foo().GetBuffer()
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/fmsrcimp.cxx4
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;
}