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

Stephan Bergmann sbergman at redhat.com
Fri Jun 30 14:40:39 UTC 2017


 xmlhelp/source/cxxhelp/provider/databases.cxx |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit f393b34cd0f11679f1229cdb3afc91d0d654e8ed
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jun 30 16:38:20 2017 +0200

    lang_ is unused
    
    ...ever since 8b8926aeba974cf07fdbaf121a11ef8a2c3c23e0 "Initial revison"
    
    Change-Id: Ice5655cfa8981cb6a97aeb710ab779b2be3f3c96

diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx
index 1038566cc3f0..8e8aa07fa8a8 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.cxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.cxx
@@ -366,7 +366,7 @@ StaticModuleInformation* Databases::getStaticInformationForModule( const OUStrin
             cfgFile.close();
 
             const sal_Unicode* str = fileContent.getStr();
-            OUString current,lang_,program,startid,title;
+            OUString current,program,startid,title;
             OUString order( "1" );
 
             for( sal_Int32 i = 0;i < fileContent.getLength();i++ )
@@ -386,10 +386,6 @@ StaticModuleInformation* Databases::getStaticInformationForModule( const OUStrin
                         {
                             startid = current.copy( current.indexOf('=') + 1 );
                         }
-                        else if( current.startsWith("Language") )
-                        {
-                            lang_ = current.copy( current.indexOf('=') + 1 );
-                        }
                         else if( current.startsWith("Program") )
                         {
                             program = current.copy( current.indexOf('=') + 1 );


More information about the Libreoffice-commits mailing list