summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-09-19 13:48:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-09-19 15:47:39 +0200
commit77a8a54655db9715a745927a28b817ec32591d14 (patch)
treeb315b0283f05450ec1d12be1ef6313f58808e527 /dbaccess
parent253425137a7d3a985e1a41711b9b567353ed70bc (diff)
cid#1453855 Uninitialized scalar field
Change-Id: I31f9fc5da574d527e9214299b079b30dd0df0dfe Reviewed-on: https://gerrit.libreoffice.org/79140 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/api/datasettings.cxx1
-rw-r--r--dbaccess/source/core/inc/datasettings.hxx2
2 files changed, 2 insertions, 1 deletions
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;