diff options
-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++) |