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

Julien Nabet serval2412 at yahoo.fr
Mon Mar 25 14:23:00 PDT 2013


 svx/source/form/navigatortree.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 228074deb9056122cfbea6e0da5e8662f7b8a1d7
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Mon Mar 25 22:20:41 2013 +0100

    coverity#704321 Logically dead code
    
    Change-Id: Ibcae025319e689d917d6c85f6c0a3bed8315672e

diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx
index 44bb0ca..10a3e0a 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;
 


More information about the Libreoffice-commits mailing list