From 485a7c880fd2675ff9c5fc792d4caae980b4535e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 1 Jul 2014 16:21:48 +0100 Subject: coverity#735881 Dereference after null check Change-Id: I2fd45dd0ab1e0bedca7e827886949beb3f494cad --- svx/source/table/svdotable.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/source/table') 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; } -- cgit