summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-29 09:49:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-29 11:10:29 +0100
commita796b2ba09087dcdd6df45b20bd8703d85f2726b (patch)
tree638e54dcbc0d31ba0917d3489d40524b1f23a7fd /sw/source
parent4a031d7c971558f89693925bb504c1157ab6bd04 (diff)
coverity#1325054 Explicit null dereferenced
Change-Id: I1378d822e03218a3a4c2ae1d08b11a00b15287f6
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/doc/tblrwcl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx
index acc2d8e70974..b4abdb820e1f 100644
--- a/sw/source/core/doc/tblrwcl.cxx
+++ b/sw/source/core/doc/tblrwcl.cxx
@@ -3856,7 +3856,7 @@ bool SwTable::SetColWidth( SwTableBox& rAktBox, sal_uInt16 eType,
xFndBox.reset();
- if( ppUndo && *ppUndo )
+ if (ppUndo && *ppUndo && aParam.pUndo)
{
aParam.pUndo->SetColWidthParam( nBoxIdx, static_cast<sal_uInt16>(eTableChgMode), eType,
nAbsDiff, nRelDiff );