summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-04 20:22:04 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-11 23:46:24 +0100
commitfe696d28e227f3cdf33d007370306d0c4510c2b9 (patch)
treeb9a90c5839dd32fac5061dcd35f869a24889bc19 /cui/source
parentf2584344ac6ff45eb05d9a51e4a74c3a9202ee98 (diff)
Move DBG_ERROR to OSL_FAIL (multiline)
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/dialogs/cuigaldlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx
index bd5240e1e7c4..8eb5e1cda833 100644
--- a/cui/source/dialogs/cuigaldlg.cxx
+++ b/cui/source/dialogs/cuigaldlg.cxx
@@ -259,7 +259,7 @@ IMPL_LINK( SearchProgress, CleanUpHdl, void*, EMPTYARG )
short SearchProgress::Execute()
{
- DBG_ERROR( "SearchProgress cannot be executed via Dialog::Execute!\n"
+ OSL_FAIL( "SearchProgress cannot be executed via Dialog::Execute!\n"
"It creates a thread that will call back to VCL apartment => deadlock!\n"
"Use Dialog::StartExecuteModal to execute the dialog!" );
return RET_CANCEL;
@@ -434,7 +434,7 @@ IMPL_LINK( TakeProgress, CleanUpHdl, void*, EMPTYARG )
short TakeProgress::Execute()
{
- DBG_ERROR( "TakeProgress cannot be executed via Dialog::Execute!\n"
+ OSL_FAIL( "TakeProgress cannot be executed via Dialog::Execute!\n"
"It creates a thread that will call back to VCL apartment => deadlock!\n"
"Use Dialog::StartExecuteModal to execute the dialog!" );
return RET_CANCEL;