[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - sc/source
Szymon Kłos
szymon.klos at collabora.com
Thu Dec 7 10:41:01 UTC 2017
sc/source/ui/docshell/docsh4.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0f685ee5a0913cab5826eec737f25328fabf256d
Author: Szymon Kłos <szymon.klos at 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.timar at collabora.com>
Tested-by: Andras Timar <andras.timar at 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");
More information about the Libreoffice-commits
mailing list