diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-08 12:55:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-08 14:25:06 +0000 |
commit | c66a649a2d9c65b1b0101e404f751255273111c7 (patch) | |
tree | 61ae3018cb98b56dc0810487291f5326aebe6c32 /framework/source | |
parent | 51a954809aebd9f10449a4b9c9d05c25e2a6d668 (diff) |
coverity#707884 Uninitialized scalar field
Change-Id: I21810eac9579b536017b8187497d04dbbc0109c6
Diffstat (limited to 'framework/source')
-rw-r--r-- | framework/source/uielement/langselectionmenucontroller.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/framework/source/uielement/langselectionmenucontroller.cxx b/framework/source/uielement/langselectionmenucontroller.cxx index 1d736eb8d633..952a03b18ff2 100644 --- a/framework/source/uielement/langselectionmenucontroller.cxx +++ b/framework/source/uielement/langselectionmenucontroller.cxx @@ -74,10 +74,11 @@ DEFINE_XSERVICEINFO_MULTISERVICE_2 ( LanguageSelectionMenuController DEFINE_INIT_SERVICE ( LanguageSelectionMenuController, {} ) -LanguageSelectionMenuController::LanguageSelectionMenuController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ) : - svt::PopupMenuControllerBase( xContext ), - m_bShowMenu( sal_True ), - m_aLangGuessHelper( xContext ) +LanguageSelectionMenuController::LanguageSelectionMenuController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ) + : svt::PopupMenuControllerBase(xContext) + , m_bShowMenu(sal_True) + , m_nScriptType(LS_SCRIPT_LATIN | LS_SCRIPT_ASIAN | LS_SCRIPT_COMPLEX) + , m_aLangGuessHelper(xContext) { } |