diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-06-03 09:20:49 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-06-04 10:34:24 +0200 |
commit | 354aefec42de856b4ab6201ada54a3a3c630b4bd (patch) | |
tree | ad01bdd049feb4c3b115b57836d3c535e8f749f2 /cui/source/dialogs/scriptdlg.cxx | |
parent | c9bc4f1eec5d66db36b6f9d845eb1a2d46e732bb (diff) |
Upcoming loplugin:elidestringvar: cui
Change-Id: I48c4f69a1fb2e4591eab81c2b0019d7d7d43947b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95395
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'cui/source/dialogs/scriptdlg.cxx')
-rw-r--r-- | cui/source/dialogs/scriptdlg.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx index 5319ac68065e..2c1a9326a9fd 100644 --- a/cui/source/dialogs/scriptdlg.cxx +++ b/cui/source/dialogs/scriptdlg.cxx @@ -1144,7 +1144,6 @@ OUString GetErrorMessage( OUString language = unknown; OUString script = unknown; OUString line = unknown; - OUString type = ""; OUString message = eScriptError.Message; if ( !eScriptError.language.isEmpty() ) @@ -1172,7 +1171,7 @@ OUString GetErrorMessage( } return FormatErrorString( - unformatted, language, script, line, type, message ); + unformatted, language, script, line, "", message ); } OUString GetErrorMessage( |