[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - sd/source
Marco Cecchetti (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jul 24 15:50:27 UTC 2020
sd/source/core/sdpage.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ae61d19ed27e2545078bf54cbe259c96b5d66a98
Author: Marco Cecchetti <marco.cecchetti at collabora.com>
AuthorDate: Thu Jul 23 14:08:47 2020 +0200
Commit: Marco Cecchetti <marco.cecchetti at collabora.com>
CommitDate: Fri Jul 24 17:49:52 2020 +0200
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 at gmail.com>
Reviewed-by: Marco Cecchetti <marco.cecchetti at collabora.com>
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)
More information about the Libreoffice-commits
mailing list