[Libreoffice-commits] core.git: 2 commits - include/sfx2 sfx2/source

Caolán McNamara caolanm at redhat.com
Sun May 20 19:15:09 UTC 2018


 include/sfx2/objsh.hxx      |    1 -
 sfx2/source/doc/objxtor.cxx |    1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ef200af8976087216d6c8ddeac7b2fcaba7ebaa1
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat May 19 21:25:57 2018 +0100

    coverity#1435679 Uninitialized scalar field
    
    Change-Id: I5941e14ad36020363a55b4e3d3aa89eba4d7b3c3
    Reviewed-on: https://gerrit.libreoffice.org/54583
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index 97d570c7876c..680b1ed8597f 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -207,7 +207,6 @@ private:
                                                   // sal_False := new object
     bool                        bIsInGenerateThumbnail; //optimize thumbnail generate and store procedure to improve odt saving performance, i120030
     bool                        mbAvoidRecentDocs; ///< Avoid adding to the recent documents list, if not necessary.
-    bool m_bAllowModifiedBackAfterSigning;
 
     enum TriState               {undefined, yes, no};
     TriState                    mbContinueImportOnFilterExceptions = undefined; // try to import as much as possible
commit 892306b5b73f22f887a512ab75ccee22e1985fa8
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat May 19 21:23:48 2018 +0100

    coverity#1338604 Uninitialized scalar field
    
    Change-Id: I4c4c07db527ea2517ed809f693bde4af519e503e
    Reviewed-on: https://gerrit.libreoffice.org/54582
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx
index 3eacd44ab701..a71748111969 100644
--- a/sfx2/source/doc/objxtor.cxx
+++ b/sfx2/source/doc/objxtor.cxx
@@ -249,6 +249,7 @@ SfxObjectShell_Impl::SfxObjectShell_Impl( SfxObjectShell& _rDocShell )
     ,m_nModifyPasswordHash( 0 )
     ,m_bModifyPasswordEntered( false )
     ,m_bSavingForSigning( false )
+    ,m_bAllowModifiedBackAfterSigning( false )
 {
     SfxObjectShell* pDoc = &_rDocShell;
     SfxObjectShellArr_Impl &rArr = SfxGetpApp()->GetObjectShells_Impl();


More information about the Libreoffice-commits mailing list