diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-07-03 22:38:05 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-07-03 22:38:05 +0200 |
commit | 16351a8ba50c04b9e4c7edbcf9491d2882a7eeda (patch) | |
tree | 2a50b3cfefd3d9fb22467f6e07882d4340104eb8 | |
parent | 40194dc12fd93720c3bea0b3ae2bba54d0b7a82f (diff) |
error: reference cannot be bound to dereferenced null pointer
Change-Id: Id0dbd21225534630b57514a9ddd7cf11a395f272
-rw-r--r-- | sw/source/uibase/config/modcfg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/config/modcfg.cxx b/sw/source/uibase/config/modcfg.cxx index 3795cbd0b32e..ec476a04bf26 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++) |