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

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Tue Feb 4 10:18:01 UTC 2020


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

New commits:
commit faeeef2e6ce378a9e8572b5034edc612dc6beabf
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Tue Feb 4 11:57:58 2020 +0200
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Tue Feb 4 12:17:24 2020 +0200

    Fix warning when compiling for iOS: code will never be executed
    
    Clang told me "note: silence by adding parentheses to mark code as
    explicitly dead". So I did.
    
    Change-Id: I5d6fb603a7cec1a6f3c40e5539579a09f9183c04

diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index cf63b8fb74c3..7c280cfc1f7f 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -2615,7 +2615,7 @@ OUString SdPage::GetPresObjText(PresObjKind eObjKind) const
         }
         else if (comphelper::LibreOfficeKit::isMobile(SfxLokHelper::getView())
 #ifdef IOS
-                 || true
+                 || (true)
 #endif
                  )
             aString = SdResId(STR_PRESOBJ_TITLE_MOBILE);


More information about the Libreoffice-commits mailing list