[Libreoffice-commits] core.git: vcl/source
Stephan Bergmann
sbergman at redhat.com
Thu May 12 09:26:45 UTC 2016
vcl/source/window/dialog.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit c1b6d154724a64d8a46bc95de1e23e614bfcbc75
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu May 12 11:26:13 2016 +0200
Massage code to avoid warnings
Change-Id: Id86085e60c588d80ae50e8e5af07f2065b89048c
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index c90d72a..e7c9992 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -811,9 +811,7 @@ bool Dialog::ImplStartExecuteModal()
"Dialog \"" << ImplGetDialogText(this).getStr()
<< "\"cancelled in silent mode");
return false;
- default:
- assert(false && "this cannot happen");
- // fall through
+ default: // default cannot happen
case Application::DIALOG_CANCEL_FATAL:
std::abort();
}
More information about the Libreoffice-commits
mailing list