summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-02-03 11:49:48 +0100
committerTor Lillqvist <tml@collabora.com>2015-02-03 11:50:10 +0100
commita9b3215aeaa101d7fe16c14ce64ca4f5ca89b7e6 (patch)
treefd2074bbce46817cb9601034648170be7dfcd21b /vcl
parent7b3e50474727f18ab82a5e9b01d9149759ead255 (diff)
WaE: variable 'kind' set but not used
Change-Id: I5078e0e4df18d0aece3240dc537504c11cd623de
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/dialog.cxx25
1 files changed, 0 insertions, 25 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index 78a95f09305b..18467af57eef 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());