diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-21 09:21:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-21 11:01:22 +0200 |
commit | faa40c022ccee7c28de98472699ca26aa8aa827b (patch) | |
tree | f4fc82e0f688d6d9a6b123314e08d977580a31d5 /forms | |
parent | 716c5a3c199f52a3d5c67e2c3af7702748b7f685 (diff) |
elide some makeStringAndClear() calls
Change-Id: I8636102554a76f2ba3f6297219b40761473a4489
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137285
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/xforms/submission/submission_get.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/xforms/submission/submission_get.cxx b/forms/source/xforms/submission/submission_get.cxx index 5a82aeae04d2..86709e3b8a75 100644 --- a/forms/source/xforms/submission/submission_get.cxx +++ b/forms/source/xforms/submission/submission_get.cxx @@ -79,7 +79,7 @@ CSubmission::SubmissionResult CSubmissionGet::submit(const css::uno::Reference< aUTF8QueryURL.append('?'); aUTF8QueryURL.append(aQueryString); } - OUString aQueryURL = OStringToOUString(aUTF8QueryURL.makeStringAndClear(), RTL_TEXTENCODING_UTF8); + OUString aQueryURL = OStringToOUString(aUTF8QueryURL, RTL_TEXTENCODING_UTF8); ucbhelper::Content aContent(aQueryURL, aEnvironment, m_xContext); css::uno::Reference< XOutputStream > aPipe( css::io::Pipe::create(m_xContext), UNO_QUERY_THROW ); if (!aContent.openStream(aPipe)) |