[Libreoffice-commits] core.git: sd/source

Marco Cecchetti (via logerrit) logerrit at kemper.freedesktop.org
Fri Jul 24 15:51:09 UTC 2020


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

New commits:
commit 8197c3af338a20a3b99de001adc02b4329f074a7
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:50:31 2020 +0200

    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 at collabora.com>

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)


More information about the Libreoffice-commits mailing list