sc/source/ui/docshell/docsh4.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 0f685ee5a0913cab5826eec737f25328fabf256d Author: Szymon KÅos <szymon.k...@collabora.com> Date: Wed Dec 6 20:43:22 2017 +0100 Windows build fix - uninitialized variable docsh4.cxx(1186) : warning C4701: potentially uninitialized local variable 'eLang' used Change-Id: I9a885cb8ce26f11f43c44ac1ca602d03ef84dfed Reviewed-on: https://gerrit.libreoffice.org/45988 Reviewed-by: Andras Timar <andras.ti...@collabora.com> Tested-by: Andras Timar <andras.ti...@collabora.com> diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx index aaf28e094dea..7fa1b98b6664 100644 --- a/sc/source/ui/docshell/docsh4.cxx +++ b/sc/source/ui/docshell/docsh4.cxx @@ -1132,7 +1132,7 @@ void ScDocShell::Execute( SfxRequest& rReq ) if ( !aLangText.isEmpty() ) { - LanguageType eLang, eLatin, eCjk, eCtl; + LanguageType eLang = LANGUAGE_NONE, eLatin, eCjk, eCtl; const OUString aDocLangPrefix("Default_"); const OUString aNoLang("LANGUAGE_NONE"); const OUString aResetLang("RESET_LANGUAGES");
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits