[Libreoffice-commits] core.git: forms/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Thu Jun 4 07:08:38 UTC 2020


 forms/source/xforms/submission/replace.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit ddb1bbf0ab481d143aedb9346115d65e797b704b
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Jun 3 22:42:49 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Jun 4 09:08:04 2020 +0200

    Upcoming loplugin:elidestringvar: forms
    
    Change-Id: Ic95f4dc57dd19654e2dace60883c0c6f1d14b9ac
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95464
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

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;
 


More information about the Libreoffice-commits mailing list