summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-02 20:50:03 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-02 21:07:54 +0000
commitc61af284a85a95d14d4dee113b3ad12648d1cb64 (patch)
tree0d06972a8dc1ac62dbb570a56ca4135e6a864756
parentcc4954c484e71d60a84b41b196a7cde37977a6cb (diff)
coverity#1267659 Logically dead code
Change-Id: I0130c70a281e1ea6a82aa4f41be4b4f0b473a958
-rw-r--r--sd/source/ui/func/fuexpand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fuexpand.cxx b/sd/source/ui/func/fuexpand.cxx
index 6eebb5b8ec56..0f54f3371037 100644
--- a/sd/source/ui/func/fuexpand.cxx
+++ b/sd/source/ui/func/fuexpand.cxx
@@ -181,7 +181,7 @@ void FuExpandPage::DoExecute( SfxRequest& )
// create title text objects
SdrTextObj* pTextObj = static_cast<SdrTextObj*>(pPage->GetPresObj(PRESOBJ_TITLE));
- assert(pTextObj);
+ SAL_WARN_IF(!pTextObj, "sd.core", "worrying lack of PRESOBJ_TITLE object");
if (!pTextObj)
continue;