summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
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)