vcl/source/window/dialog.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 3f6e35d1da493809c900ccddf81db9ffe5936451
Author: Tor Lillqvist <[email protected]>
AuthorDate: Wed Jul 17 12:27:57 2019 +0300
Commit: Tor Lillqvist <[email protected]>
CommitDate: Wed Jul 17 23:21:50 2019 +0200
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 <[email protected]>
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;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits