Kaydet (Commit) 16351a8b authored tarafından Stephan Bergmann's avatar Stephan Bergmann

error: reference cannot be bound to dereferenced null pointer

Change-Id: Id0dbd21225534630b57514a9ddd7cf11a395f272
üst 40194dc1
......@@ -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++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment