summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2020-02-04 11:57:58 +0200
committerTor Lillqvist <tml@collabora.com>2020-02-04 12:17:24 +0200
commitfaeeef2e6ce378a9e8572b5034edc612dc6beabf (patch)
tree8c97c192fc3481668f4cfaeba363b1cc6232ccb5 /sd
parent739e3b25bbaf9305f779e8821fd7aee4fccc6f5d (diff)
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
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 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);