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

coverity#735881 Dereference after null check

Change-Id: I2fd45dd0ab1e0bedca7e827886949beb3f494cad
üst 0820f53c
...@@ -1750,7 +1750,7 @@ SdrTableObj& SdrTableObj::operator=(const SdrTableObj& rObj) ...@@ -1750,7 +1750,7 @@ SdrTableObj& SdrTableObj::operator=(const SdrTableObj& rObj)
bNoMirror = rObj.bNoMirror; bNoMirror = rObj.bNoMirror;
bDisableAutoWidthOnDragging = rObj.bDisableAutoWidthOnDragging; bDisableAutoWidthOnDragging = rObj.bDisableAutoWidthOnDragging;
if( rObj.mpImpl ) if (mpImpl && rObj.mpImpl)
*mpImpl = *rObj.mpImpl; *mpImpl = *rObj.mpImpl;
return *this; return *this;
} }
......
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