From 0c27d46498ca191487ae1eb7f24202dee3ef2af5 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 15 Apr 2014 12:10:20 +0300 Subject: WaE: 'bValue' may be used uninitialized in this function Change-Id: Ie30b4d4dea4b0f7762cd5f9e681685986b69fa91 --- svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx') diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx b/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx index ae0e1b413755..089874cbb11c 100644 --- a/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx +++ b/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx @@ -47,7 +47,7 @@ ChineseTranslationDialog::ChineseTranslationDialog( Window* pParent ) get(m_pCB_Translate_Commonterms, "commonterms"); SvtLinguConfig aLngCfg; - bool bValue; + bool bValue = false; Any aAny( aLngCfg.GetProperty( OUString( UPN_IS_DIRECTION_TO_SIMPLIFIED ) ) ); aAny >>= bValue; if( bValue ) -- cgit