[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - sc/inc

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Jul 8 08:38:03 UTC 2021


 sc/inc/refdata.hxx |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit 64525c4932a217a19fa94bf7cebbd48a36c004cf
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Jan 15 09:44:38 2021 +0000
Commit:     Michael Stahl <michael.stahl at allotropia.de>
CommitDate: Thu Jul 8 10:37:28 2021 +0200

    cid#1472119 silence Uninitialized scalar field
    
    Change-Id: I0a8a12e8bb823fc650212f5cf946ad9139395030
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109327
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    (cherry picked from commit a94aecfdaafc5525be73246d3e8f19fdb714b387)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118583
    Reviewed-by: Michael Stahl <michael.stahl at allotropia.de>

diff --git a/sc/inc/refdata.hxx b/sc/inc/refdata.hxx
index 9b57fe807536..7674794a9a80 100644
--- a/sc/inc/refdata.hxx
+++ b/sc/inc/refdata.hxx
@@ -124,11 +124,7 @@ struct ScComplexRefData
 {
     ScSingleRefData Ref1;
     ScSingleRefData Ref2;
-    bool bTrimToData;
-
-    ScComplexRefData() :
-        bTrimToData(false)
-    {}
+    bool bTrimToData = false;
 
     void InitFlags()
         { Ref1.InitFlags(); Ref2.InitFlags(); }


More information about the Libreoffice-commits mailing list