diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-11 11:32:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-11 14:11:20 +0100 |
commit | 4ec90e47b32b6666dbe7a3a496eeb1686e688103 (patch) | |
tree | 235365c6d6b872a3a616c1c70cf219fcdeaab0e2 /svx/source | |
parent | 36ab95b518508b6eae39aa4927fc9080acb1ec54 (diff) |
coverity#708384 Uninitialized scalar field
Change-Id: I105bcadd8f088e2047dc39af6bd8968261ddc64b
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/svdraw/svdundo.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx index f7fca4d883fc..ac5919a9727b 100644 --- a/svx/source/svdraw/svdundo.cxx +++ b/svx/source/svdraw/svdundo.cxx @@ -1725,8 +1725,9 @@ OUString SdrUndoSetPageNum::GetComment() const } SdrUndoPageMasterPage::SdrUndoPageMasterPage(SdrPage& rChangedPage) -: SdrUndoPage(rChangedPage), - mbOldHadMasterPage(mrPage.TRG_HasMasterPage()) + : SdrUndoPage(rChangedPage) + , mbOldHadMasterPage(mrPage.TRG_HasMasterPage()) + , maOldMasterPageNumber(0) { // get current state from page if(mbOldHadMasterPage) @@ -1740,8 +1741,6 @@ SdrUndoPageMasterPage::~SdrUndoPageMasterPage() { } - - SdrUndoPageRemoveMasterPage::SdrUndoPageRemoveMasterPage(SdrPage& rChangedPage) : SdrUndoPageMasterPage(rChangedPage) { |