summaryrefslogtreecommitdiff
path: root/vcl/source/window/dialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/dialog.cxx')
-rw-r--r--vcl/source/window/dialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index d6da6ad37237..b50fd4f17a9a 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -722,7 +722,7 @@ short Dialog::Execute()
if( ! aParentDelData.IsDelete() )
pDialogParent->ImplRemoveDel( &aParentDelData );
else
- DBG_ERROR( "Dialog::Execute() - Parent of dialog destroyed in Execute()" );
+ OSL_FAIL( "Dialog::Execute() - Parent of dialog destroyed in Execute()" );
}
#endif
if ( !aDelData.IsDelete() )
@@ -730,7 +730,7 @@ short Dialog::Execute()
#ifdef DBG_UTIL
else
{
- DBG_ERROR( "Dialog::Execute() - Dialog destroyed in Execute()" );
+ OSL_FAIL( "Dialog::Execute() - Dialog destroyed in Execute()" );
}
#endif