diff options
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/databases.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
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 ); |