[Libreoffice-commits] .: basic/source

Takeshi Abe tabe at kemper.freedesktop.org
Fri Aug 12 07:54:43 PDT 2011


 basic/source/basmgr/basmgr.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f418927e6fc5228d9d08a2d11e0234661038374c
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Fri Aug 12 23:49:57 2011 +0900

    cppcheck: fix possible null pointer dereference

diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx
index 9fc864a..14626f6 100644
--- a/basic/source/basmgr/basmgr.cxx
+++ b/basic/source/basmgr/basmgr.cxx
@@ -253,9 +253,9 @@ void BasMgrContainerListenerImpl::addLibraryModulesImpl( BasicManager* pMgr,
             else
         pLib->MakeModule32( aModuleName, aMod );
         }
-    }
 
-    pLib->SetModified( sal_False );
+        pLib->SetModified( sal_False );
+    }
 }
 
 


More information about the Libreoffice-commits mailing list