[Libreoffice-commits] core.git: vcl/source
Tor Lillqvist (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jul 17 21:22:48 UTC 2019
vcl/source/window/dialog.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 3f6e35d1da493809c900ccddf81db9ffe5936451
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Wed Jul 17 12:27:57 2019 +0300
Commit: Tor Lillqvist <tml at collabora.com>
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 <tml at collabora.com>
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;
More information about the Libreoffice-commits
mailing list