diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-06-03 11:46:51 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-06-03 22:39:11 +0200 |
commit | 3d3cb4328ece843b3e31b8411f9d16bbedb57a7b (patch) | |
tree | ccf8a174c02c384de787d0d7f6a1cbcb0c9e4f6c /extensions/source/propctrlr | |
parent | 6d1b19df4e9cd066acf57b57c3a8b68e09a43ff0 (diff) |
Upcoming loplugin:elidestringvar: extensions
Change-Id: I318eebbdc79c503b10570061a298eb76d6555540
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95402
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'extensions/source/propctrlr')
-rw-r--r-- | extensions/source/propctrlr/eventhandler.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/extensions/source/propctrlr/eventhandler.cxx b/extensions/source/propctrlr/eventhandler.cxx index 638ff02a77e8..32d9894dace4 100644 --- a/extensions/source/propctrlr/eventhandler.cxx +++ b/extensions/source/propctrlr/eventhandler.cxx @@ -619,10 +619,8 @@ namespace pcr aComposeBuffer.append( xScriptUri->getName() ); // location - const OUString sLocationParamName( "location" ); - const OUString sLocation = xScriptUri->getParameter( sLocationParamName ); - const OUString sLangParamName( "language" ); - const OUString sLanguage = xScriptUri->getParameter( sLangParamName ); + const OUString sLocation = xScriptUri->getParameter( "location" ); + const OUString sLanguage = xScriptUri->getParameter( "language" ); if ( !(sLocation.isEmpty() && sLanguage.isEmpty()) ) { |