coverity#735942 Unchecked dynamic_cast
Change-Id: Id508e771b0f117437671f40060c68122a408e386
This commit is contained in:
@@ -3679,6 +3679,7 @@ bool RtfAttributeOutput::FlyFrameOLEMath(const SwFlyFrmFmt* pFlyFrmFmt, SwOLENod
|
||||
oox::FormulaExportBase* pBase = dynamic_cast<oox::FormulaExportBase*>(dynamic_cast<SfxBaseModel*>(xClosable.get()));
|
||||
assert( pBase != NULL );
|
||||
OStringBuffer aBuf;
|
||||
if (pBase)
|
||||
pBase->writeFormulaRtf(aBuf, m_rExport.eCurrentEncoding);
|
||||
m_aRunText->append(aBuf.makeStringAndClear());
|
||||
// Replacement graphic.
|
||||
|
Reference in New Issue
Block a user