diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-01 16:19:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-01 20:28:58 +0100 |
commit | d6dd0a3b10427e5b8b2aef6d98fcd86cf6129347 (patch) | |
tree | 5febd03e792786d947b787b0d46843cb9eb9b080 /cui | |
parent | 7df609db556cadb78d9b861d4bea5da75deb8704 (diff) |
coverity#1242929 Uninitialized scalar field
Change-Id: I77d19b131a378b16e82ce789c5d0fc99845e92db
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index f45b4a4dca44..79688ccd2bb3 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -997,9 +997,10 @@ static OUString lcl_getDatePatternsConfigString( const LocaleDataWrapper& rLocal return aBuf.makeStringAndClear(); } -OfaLanguagesTabPage::OfaLanguagesTabPage( vcl::Window* pParent, const SfxItemSet& rSet ) : - SfxTabPage( pParent,"OptLanguagesPage","cui/ui/optlanguagespage.ui", &rSet ), - pLangConfig(new LanguageConfig_Impl) +OfaLanguagesTabPage::OfaLanguagesTabPage(vcl::Window* pParent, const SfxItemSet& rSet) + : SfxTabPage(pParent,"OptLanguagesPage","cui/ui/optlanguagespage.ui", &rSet) + , pLangConfig(new LanguageConfig_Impl) + , m_bDatePatternsValid(false) { get(m_pUserInterfaceLB, "userinterface"); m_pUserInterfaceLB->SetStyle(m_pUserInterfaceLB->GetStyle() | WB_SORT); |