summaryrefslogtreecommitdiff
path: root/vcl/source/app
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/app')
-rw-r--r--vcl/source/app/svapp.cxx2
-rw-r--r--vcl/source/app/timer.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index ec8101d74315..46a32b699650 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -1581,7 +1581,7 @@ Window* Application::GetDefDialogParent()
// check for corrupted window hierarchy, #122232#, may be we now crash somewhere else
if( !pWin->mpWindowImpl )
{
- DBG_ERROR( "Window hierarchy corrupted!" );
+ OSL_FAIL( "Window hierarchy corrupted!" );
pSVData->maWinData.mpFocusWin = NULL; // avoid further access
return NULL;
}
diff --git a/vcl/source/app/timer.cxx b/vcl/source/app/timer.cxx
index 7749aa8ba0de..d83c11e4f270 100644
--- a/vcl/source/app/timer.cxx
+++ b/vcl/source/app/timer.cxx
@@ -319,7 +319,7 @@ void Timer::Start()
}
else if( !mpTimerData->mpSVTimer ) // TODO: remove when guilty found
{
- DBG_ERROR( "Timer::Start() on a destroyed Timer!" );
+ OSL_FAIL( "Timer::Start() on a destroyed Timer!" );
}
else
{