dbaccess/source/core/api/datasettings.cxx |    1 +
 dbaccess/source/core/inc/datasettings.hxx |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 77a8a54655db9715a745927a28b817ec32591d14
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Thu Sep 19 13:48:31 2019 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Sep 19 15:47:39 2019 +0200

    cid#1453855 Uninitialized scalar field
    
    Change-Id: I31f9fc5da574d527e9214299b079b30dd0df0dfe
    Reviewed-on: https://gerrit.libreoffice.org/79140
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/dbaccess/source/core/api/datasettings.cxx 
b/dbaccess/source/core/api/datasettings.cxx
index 0eabe9fa9b12..d1af3d92c8a4 100644
--- a/dbaccess/source/core/api/datasettings.cxx
+++ b/dbaccess/source/core/api/datasettings.cxx
@@ -106,6 +106,7 @@ ODataSettings::ODataSettings(OBroadcastHelper& 
_rBHelper,bool _bQuery)
 
 ODataSettings_Base::ODataSettings_Base()
     :m_bApplyFilter(false)
+    ,m_bAutoGrow(false)
     ,m_aFont(::comphelper::getDefaultFont())
     ,m_nFontEmphasis(css::awt::FontEmphasisMark::NONE)
     ,m_nFontRelief(css::awt::FontRelief::NONE)
diff --git a/dbaccess/source/core/inc/datasettings.hxx 
b/dbaccess/source/core/inc/datasettings.hxx
index c5185891cd33..c2d086173ca7 100644
--- a/dbaccess/source/core/inc/datasettings.hxx
+++ b/dbaccess/source/core/inc/datasettings.hxx
@@ -42,9 +42,9 @@ public:
     OUString                       m_sGroupBy;
     OUString                       m_sOrder;
     bool                           m_bApplyFilter;     // no BitField ! the 
base class needs a pointer to this member !
+    bool                           m_bAutoGrow;
     css::awt::FontDescriptor       m_aFont;
     css::uno::Any                  m_aRowHeight;
-    bool                           m_bAutoGrow;
     css::uno::Any                  m_aTextColor;
     css::uno::Any                  m_aTextLineColor;
     sal_Int16                      m_nFontEmphasis;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to