summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-03-25 22:20:41 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-03-25 22:20:41 +0100
commit228074deb9056122cfbea6e0da5e8662f7b8a1d7 (patch)
tree335c066f413aee6d9714069dd5fc59d875dfe6da
parent3e8273100bbcb7d312cecc0f5f85f6f61c9f5079 (diff)
coverity#704321 Logically dead code
Change-Id: Ibcae025319e689d917d6c85f6c0a3bed8315672e
-rw-r--r--svx/source/form/navigatortree.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx
index 44bb0ca60237..10a3e0ad793d 100644
--- a/svx/source/form/navigatortree.cxx
+++ b/svx/source/form/navigatortree.cxx
@@ -1725,7 +1725,7 @@ namespace svxform
FmFormShell* pFormShell = GetNavModel()->GetFormShell();
if (!pFormShell)
return;
- FmFormModel* pFormModel = pFormShell ? pFormShell->GetFormModel() : NULL;
+ FmFormModel* pFormModel = pFormShell->GetFormModel();
if (!pFormModel)
return;