summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-05-16 10:42:49 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-05-16 22:17:28 +0200
commitf0eec7572dfa630f903e91ac44a41f3503112846 (patch)
treecfcae34dfac59705c8802f892e94b048cf8d2763 /include
parent4e52299a6aff1386151223a99e7ed3a49496d967 (diff)
ExternalZoom and ExternalScroll are unused
which leads to CommandWheelMode::ZOOM_SCALE becoming unused and so touch/touch.h is unnecessary Change-Id: I7cb9a4f6af2719deb0d768e35d514b59010daf79 Reviewed-on: https://gerrit.libreoffice.org/37671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/touch/touch.h19
-rw-r--r--include/vcl/commandevent.hxx3
2 files changed, 1 insertions, 21 deletions
diff --git a/include/touch/touch.h b/include/touch/touch.h
deleted file mode 100644
index e20fe3fe5a3e..000000000000
--- a/include/touch/touch.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- */
-
-#ifndef INCLUDED_TOUCH_TOUCH_H
-#define INCLUDED_TOUCH_TOUCH_H
-
-#define MOBILE_MAX_ZOOM_IN 600
-#define MOBILE_MAX_ZOOM_OUT 80
-#define MOBILE_ZOOM_SCALE_MULTIPLIER 10000
-
-#endif // INCLUDED_TOUCH_TOUCH_H
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/vcl/commandevent.hxx b/include/vcl/commandevent.hxx
index 68ea0c5184d7..778348b3d1a3 100644
--- a/include/vcl/commandevent.hxx
+++ b/include/vcl/commandevent.hxx
@@ -129,8 +129,7 @@ enum class CommandWheelMode
NONE = 0,
SCROLL = 1,
ZOOM = 2,
- ZOOM_SCALE = 3,
- DATAZOOM = 4
+ DATAZOOM = 3
};
// Magic value used in mnLines field in CommandWheelData