[Libreoffice-commits] core.git: cui/source

David Tardon dtardon at redhat.com
Mon Jan 2 08:03:51 UTC 2017


 cui/source/options/optgenrl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 99f3f180034b78900e9ff6953b9866fde3da01d6
Author: David Tardon <dtardon at redhat.com>
Date:   Mon Jan 2 09:02:53 2017 +0100

    WaE: unused variable
    
    Change-Id: Ib701d3adf1e79554e2ddcefb5943092e3a886041

diff --git a/cui/source/options/optgenrl.cxx b/cui/source/options/optgenrl.cxx
index 559e569..385f580 100644
--- a/cui/source/options/optgenrl.cxx
+++ b/cui/source/options/optgenrl.cxx
@@ -211,7 +211,7 @@ void SvxGeneralTabPage::InitControls ()
 {
     // which language bit do we use? (see Lang and vRowInfo[] above)
     unsigned LangBit;
-    switch (LanguageType const eLang = Application::GetSettings().GetUILanguageTag().getLanguageType())
+    switch (Application::GetSettings().GetUILanguageTag().getLanguageType())
     {
         case LANGUAGE_ENGLISH_US:
             LangBit = Lang::US;


More information about the Libreoffice-commits mailing list