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:50:31 +0200
commit8197c3af338a20a3b99de001adc02b4329f074a7 (patch)
tree2954d253447014835e7816eea2ac595be6274bde /sd
parent1800e22f81959c6cb56f8ed238ac68681dda1a21 (diff)
lok: fix-up: isLOKMobilePhone -> isLOKTablet
That was the actual intention. Change-Id: I2967cea8ae3099e8523438a68c076a786042e15a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99297 Tested-by: Jenkins 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 899912028ea2..8ce62cc077fb 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -2610,7 +2610,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 == PresObjKind::Title)