diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-01 16:21:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-01 16:43:07 +0100 |
commit | 485a7c880fd2675ff9c5fc792d4caae980b4535e (patch) | |
tree | e9145be99def3ccbb04339d44bda28be38aa3010 | |
parent | 0820f53c0d0211f43bc820b95793c5b868f22a50 (diff) |
coverity#735881 Dereference after null check
Change-Id: I2fd45dd0ab1e0bedca7e827886949beb3f494cad
-rw-r--r-- | svx/source/table/svdotable.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index 0eba6e7b0c29..72ebdc95ab78 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -1750,7 +1750,7 @@ SdrTableObj& SdrTableObj::operator=(const SdrTableObj& rObj) bNoMirror = rObj.bNoMirror; bDisableAutoWidthOnDragging = rObj.bDisableAutoWidthOnDragging; - if( rObj.mpImpl ) + if (mpImpl && rObj.mpImpl) *mpImpl = *rObj.mpImpl; return *this; } |