summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-26 10:18:20 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-26 12:14:38 +0000
commitb4daae0f4da8c5c7770dc6d8fb8da49ac95fcf56 (patch)
tree19a1a29d0e31a24750b2639fb450b5db1c0309f1 /sw
parent5c8c7aacc9eb1250d36a5d8e966be68a90f7e5c0 (diff)
coverity#1266449 Explicit null dereferenced
Change-Id: I33655eac7973b1824179b376417d6a402f922944
Diffstat (limited to 'sw')
-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 8ff9262a6fd2..9dbbec0790f5 100644
--- a/sw/source/core/doc/tblrwcl.cxx
+++ b/sw/source/core/doc/tblrwcl.cxx
@@ -4334,7 +4334,7 @@ bool SwTable::SetRowHeight( SwTableBox& rAktBox, sal_uInt16 eType,
xFndBox.reset();
- if( ppUndo && *ppUndo )
+ if (ppUndo && *ppUndo && aParam.pUndo)
{
aParam.pUndo->SetColWidthParam( nBoxIdx, static_cast<sal_uInt16>(eTblChgMode), eType,
nAbsDiff, nRelDiff );