sw/source/uibase/config/modcfg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 16351a8ba50c04b9e4c7edbcf9491d2882a7eeda
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Thu Jul 3 22:38:05 2014 +0200

    error: reference cannot be bound to dereferenced null pointer
    
    Change-Id: Id0dbd21225534630b57514a9ddd7cf11a395f272

diff --git a/sw/source/uibase/config/modcfg.cxx 
b/sw/source/uibase/config/modcfg.cxx
index 3795cbd..ec476a0 100644
--- a/sw/source/uibase/config/modcfg.cxx
+++ b/sw/source/uibase/config/modcfg.cxx
@@ -95,7 +95,7 @@ bool SwModuleOptions::SetCapOption(bool bHTML, const 
InsCaptionOpt* pOpt)
     }
     else if (pOpt)
     {
-        if(pOpt->GetObjType() == OLE_CAP && &pOpt->GetOleId())
+        if(pOpt->GetObjType() == OLE_CAP)
         {
             bool bFound = false;
             for( sal_uInt16 nId = 0; nId <= GLOB_NAME_CHART; nId++)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to