diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-06-03 22:42:49 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-06-04 09:08:04 +0200 |
commit | ddb1bbf0ab481d143aedb9346115d65e797b704b (patch) | |
tree | 6efb0459f7e5ea006c00d83a594aeae7e5c750a7 /forms | |
parent | 2788cc07e9d0d078b53a7280d524175c03c51e12 (diff) |
Upcoming loplugin:elidestringvar: forms
Change-Id: Ic95f4dc57dd19654e2dace60883c0c6f1d14b9ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95464
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/xforms/submission/replace.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/forms/source/xforms/submission/replace.cxx b/forms/source/xforms/submission/replace.cxx index f772fd6e46f3..e0823397d7d7 100644 --- a/forms/source/xforms/submission/replace.cxx +++ b/forms/source/xforms/submission/replace.cxx @@ -67,8 +67,7 @@ CSubmission::SubmissionResult CSubmission::replace(const OUString& aReplace, con -1, makeAny(true), PropertyState_DIRECT_VALUE); OUString aURL = m_aURLObj.GetMainURL(INetURLObject::DecodeMechanism::NONE); - OUString aTarget = "_default"; - xLoader->loadComponentFromURL(aURL, aTarget, FrameSearchFlag::ALL, descriptor); + xLoader->loadComponentFromURL(aURL, "_default", FrameSearchFlag::ALL, descriptor); return CSubmission::SUCCESS; |