summaryrefslogtreecommitdiff
path: root/vcl/source/window/dialog.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-07-17 12:27:57 +0300
committerTor Lillqvist <tml@collabora.com>2019-07-17 23:21:50 +0200
commit3f6e35d1da493809c900ccddf81db9ffe5936451 (patch)
treeecc97afcc2556fcff990cd5054ca7c7cbcdddd4b /vcl/source/window/dialog.cxx
parent43d1c753d12ad66c7f7ebd9b76d903ee21f83ef5 (diff)
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 <tml@collabora.com>
Diffstat (limited to 'vcl/source/window/dialog.cxx')
-rw-r--r--vcl/source/window/dialog.cxx2
1 files changed, 0 insertions, 2 deletions
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;