summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2020-02-03 13:53:11 +0200
committerTor Lillqvist <tml@collabora.com>2020-02-04 08:50:52 +0100
commitc150fe5b82c0e24868731394c05ec629466166e0 (patch)
tree94a7f3cd12ecac3ad77059114aa55dc38ef5878b /sd
parentdabb6176407067ef8d46bdde863b087457805c6a (diff)
Use the "Double-tap" term instead of "click" on all iOS devices (also iPad)
In general, the term "mobile," when used in APIs related to Online and the mobile apps, means "mobile phone but not tablet". Which is sad, but it is too late to change that convention now. Thus comphelper::LibreOfficeKit::isMobile() returns false on iPad, apparently intentionally. But surely we want to use the "double tap" term instead of "click" also on iPad. Change-Id: I8f7186ea6590f2a21b885549751346edad09eb8e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87858 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit 4098608ea21d4737fdd640fd57c2417e56426fbb) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87931 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/sdpage.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index bd15a959daec..cf63b8fb74c3 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -2613,7 +2613,11 @@ OUString SdPage::GetPresObjText(PresObjKind eObjKind) const
aString = SdResId( STR_PRESOBJ_MPNOTESTITLE );
}
}
- else if (comphelper::LibreOfficeKit::isMobile(SfxLokHelper::getView()))
+ else if (comphelper::LibreOfficeKit::isMobile(SfxLokHelper::getView())
+#ifdef IOS
+ || true
+#endif
+ )
aString = SdResId(STR_PRESOBJ_TITLE_MOBILE);
else
aString = SdResId(STR_PRESOBJ_TITLE);