Kaydet (Commit) b1105961 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#736856 Dereference before null check

Change-Id: I4ae578356f47c1f079008acdb55e61e690a37be1
üst bb04d855
...@@ -1190,7 +1190,7 @@ SdrObject* SwWW8ImplReader::ReadTxtBox( WW8_DPHEAD* pHd, const WW8_DO* pDo, ...@@ -1190,7 +1190,7 @@ SdrObject* SwWW8ImplReader::ReadTxtBox( WW8_DPHEAD* pHd, const WW8_DO* pDo,
long nStartCpFly,nEndCpFly; long nStartCpFly,nEndCpFly;
bool bContainsGraphics; bool bContainsGraphics;
InsertTxbxText(PTR_CAST(SdrTextObj,pObj), &aSize, 0, 0, 0, 0, false, InsertTxbxText(dynamic_cast<SdrTextObj*>(pObj), &aSize, 0, 0, 0, 0, false,
bDummy,0,&nStartCpFly,&nEndCpFly,&bContainsGraphics); bDummy,0,&nStartCpFly,&nEndCpFly,&bContainsGraphics);
SetStdAttr( rSet, aTxtB.aLnt, aTxtB.aShd ); SetStdAttr( rSet, aTxtB.aLnt, aTxtB.aShd );
......
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