[Libreoffice-commits] core.git: sc/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sat Mar 20 12:44:46 UTC 2021


 sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit db8a721871010795fc0990771a10f459525aed27
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Mar 19 15:47:45 2021 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Mar 20 13:44:03 2021 +0100

    cid#1474037 Uninitialized scalar field
    
    Change-Id: If44c8c49b900c033eb535ab6b38c5c5b0e874e03
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112777
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
index 457adf6d0213..e414074819dd 100644
--- a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
+++ b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
@@ -263,7 +263,10 @@ ScAccessibleSpreadsheet::ScAccessibleSpreadsheet(
 ScAccessibleSpreadsheet::ScAccessibleSpreadsheet(
         ScAccessibleSpreadsheet& rParent, const ScRange& rRange ) :
     ScAccessibleTableBase( rParent.mpAccDoc, rParent.mpDoc, rRange),
-    mbIsSpreadsheet( false )
+    mbIsSpreadsheet( false ),
+    m_bFormulaMode( false ),
+    m_bFormulaLastMode( false ),
+    m_nMinX(0),m_nMaxX(0),m_nMinY(0),m_nMaxY(0)
 {
     ConstructScAccessibleSpreadsheet( rParent.mpAccDoc, rParent.mpViewShell, rParent.mnTab, rParent.meSplitPos );
 }


More information about the Libreoffice-commits mailing list