From 3f6e35d1da493809c900ccddf81db9ffe5936451 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 17 Jul 2019 12:27:57 +0300 Subject: No reason to have OSL_FAIL() with a fixed string inside #ifdef DBG_UTIL Change-Id: I99cc88031e601fd52c2858813d82f58f84fe8ca4 Reviewed-on: https://gerrit.libreoffice.org/75797 Tested-by: Jenkins Reviewed-by: Tor Lillqvist --- vcl/source/window/dialog.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'vcl') diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx index 9d60b796b035..1b6bb7d1d9aa 100644 --- a/vcl/source/window/dialog.cxx +++ b/vcl/source/window/dialog.cxx @@ -1076,12 +1076,10 @@ short Dialog::Execute() #endif if ( !xWindow->IsDisposed() ) xWindow.clear(); -#ifdef DBG_UTIL else { OSL_FAIL( "Dialog::Execute() - Dialog destroyed in Execute()" ); } -#endif long nRet = mpDialogImpl->mnResult; mpDialogImpl->mnResult = -1; -- cgit