diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-09 19:59:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-09 21:20:12 +0000 |
commit | e37886a2f6e6eab87373e502f036d56ab85bb445 (patch) | |
tree | 51797ccffaa0fdce7f1d16d95a712663cc17a1f6 /sw | |
parent | 624e7b98f5dcc683caa80e12fc6d504217779edb (diff) |
coverity#708474 Uninitialized scalar field
Change-Id: I0b9fe26b0a2de590042cd9f6e33e06f752d97f1d
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/undo/unsort.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sw/source/core/undo/unsort.cxx b/sw/source/core/undo/unsort.cxx index bbb0a25d5807..503bcc45478e 100644 --- a/sw/source/core/undo/unsort.cxx +++ b/sw/source/core/undo/unsort.cxx @@ -45,8 +45,11 @@ SwSortUndoElement::~SwSortUndoElement() } SwUndoSort::SwUndoSort(const SwPaM& rRg, const SwSortOptions& rOpt) - : SwUndo(UNDO_SORT_TXT), SwUndRng(rRg), pUndoTblAttr( 0 ), - pRedlData( 0 ) + : SwUndo(UNDO_SORT_TXT) + , SwUndRng(rRg) + , pUndoTblAttr(0) + , pRedlData(0) + , nTblNd(0) { pSortOpt = new SwSortOptions(rOpt); } |