[Libreoffice-commits] core.git: vcl/source
Tor Lillqvist
tml at collabora.com
Tue Feb 3 02:51:23 PST 2015
vcl/source/window/dialog.cxx | 25 -------------------------
1 file changed, 25 deletions(-)
New commits:
commit a9b3215aeaa101d7fe16c14ce64ca4f5ca89b7e6
Author: Tor Lillqvist <tml at collabora.com>
Date: Tue Feb 3 11:49:48 2015 +0100
WaE: variable 'kind' set but not used
Change-Id: I5078e0e4df18d0aece3240dc537504c11cd623de
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index 78a95f0..18467af 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -843,31 +843,6 @@ short Dialog::Execute()
#else
- MLODialogKind kind;
-
- switch (GetType())
- {
- case WINDOW_MESSBOX:
- kind = MLODialogMessage;
- break;
- case WINDOW_INFOBOX:
- kind = MLODialogInformation;
- break;
- case WINDOW_WARNINGBOX:
- kind = MLODialogWarning;
- break;
- case WINDOW_ERRORBOX:
- kind = MLODialogError;
- break;
- case WINDOW_QUERYBOX:
- kind = MLODialogQuery;
- break;
- default:
- SAL_WARN("vcl", "Dialog::Execute: Unhandled window type %d" << GetType());
- kind = MLODialogInformation;
- break;
- }
-
// touch_ui_dialog_modal was dummied out both for Android and iOS (well, TiledLibreOffice anyway)
// For Android it returned MLODialogOK always, for iOS Cancel. Let's go with OK.
// MLODialogResult result = touch_ui_dialog_modal(kind, ImplGetDialogText(this).getStr());
More information about the Libreoffice-commits
mailing list