Kaydet (Commit) a9b3215a authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: variable 'kind' set but not used

Change-Id: I5078e0e4df18d0aece3240dc537504c11cd623de
üst 7b3e5047
...@@ -843,31 +843,6 @@ short Dialog::Execute() ...@@ -843,31 +843,6 @@ short Dialog::Execute()
#else #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) // 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. // For Android it returned MLODialogOK always, for iOS Cancel. Let's go with OK.
// MLODialogResult result = touch_ui_dialog_modal(kind, ImplGetDialogText(this).getStr()); // MLODialogResult result = touch_ui_dialog_modal(kind, ImplGetDialogText(this).getStr());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment