summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2020-07-23 14:08:47 +0200
committerMarco Cecchetti <marco.cecchetti@collabora.com>2020-07-24 17:49:52 +0200
commitae61d19ed27e2545078bf54cbe259c96b5d66a98 (patch)
treed00a8be9669402122470e5ab61217b020e6fa89a /sd
parent15856609795c57861dc950b93250fab953c3cb92 (diff)
lok: fix-up: isLOKMobilePhone -> isLOKTablet
That was the actual intention. Change-Id: I2967cea8ae3099e8523438a68c076a786042e15a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99296 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/sdpage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index fbc0f4260520..13a5eec8f4a6 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -2596,7 +2596,7 @@ OUString SdPage::GetPresObjText(PresObjKind eObjKind) const
#else
bool isMobileDevice = false;
if (const SfxViewShell* pCurrentViewShell = SfxViewShell::Current())
- isMobileDevice = pCurrentViewShell->isLOKMobilePhone() || pCurrentViewShell->isLOKMobilePhone();
+ isMobileDevice = pCurrentViewShell->isLOKMobilePhone() || pCurrentViewShell->isLOKTablet();
#endif
if (eObjKind == PRESOBJ_TITLE)