[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - sd/source

Marco Cecchetti (via logerrit) logerrit at kemper.freedesktop.org
Mon Jul 27 18:36:54 UTC 2020


 sd/source/core/sdpage.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 31b595c0785c6991c55f8aa647efb2eab27fb0b8
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: Mon Jul 27 20:36:21 2020 +0200

    lok: fix-up: isLOKMobilePhone -> isLOKTablet
    
    That was the actual intention.
    
    Change-Id: I2967cea8ae3099e8523438a68c076a786042e15a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99286
    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 91ad345e8edf..22dadc5072a7 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -2613,7 +2613,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