From 21e0d8162a0e683558c4d042ce688fc9a6833809 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 3 Jan 2018 14:08:19 +0200 Subject: loplugin:unusedfields fix the ReturnStmt check Change-Id: I95076076bd1313d23798c4615ea12910c86ed9a8 Reviewed-on: https://gerrit.libreoffice.org/47309 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmlhelp/source/cxxhelp/provider/urlparameter.cxx | 3 --- xmlhelp/source/cxxhelp/provider/urlparameter.hxx | 1 - 2 files changed, 4 deletions(-) (limited to 'xmlhelp') diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx index 5a93c3075b5c..2d8a984ef957 100644 --- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx +++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx @@ -154,9 +154,6 @@ OUString URLParameter::get_title() OUString const & URLParameter::get_language() { - if( m_aLanguage.isEmpty() ) - return m_aDefaultLanguage; - return m_aLanguage; } diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.hxx b/xmlhelp/source/cxxhelp/provider/urlparameter.hxx index 2c339a5d072a..527019eda24c 100644 --- a/xmlhelp/source/cxxhelp/provider/urlparameter.hxx +++ b/xmlhelp/source/cxxhelp/provider/urlparameter.hxx @@ -181,7 +181,6 @@ namespace chelp { OUString m_aEid; OUString m_aDbPar; - OUString m_aDefaultLanguage; OUString m_aLanguage; OUString m_aPrefix; -- cgit