summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2023-05-16 21:38:36 +0200
committerJulien Nabet <serval2412@yahoo.fr>2023-05-17 15:35:52 +0200
commit2811ffb4a5f6629101e851d0d57c9816404464ab (patch)
tree79f95aae945daab2e26e918b6424443e40ac812b /forms
parenta78a9ea3a5f935bf364f59426b22e9039d2c1784 (diff)
tdf#154628: XML Form Document: Sending data with GET fires very often
See rationale here: https://bugs.documentfoundation.org/show_bug.cgi?id=154628#c5 Change-Id: I26556baceec8823d2c3bed382d51731d18bd2ccd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151852 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Tested-by: Jenkins
Diffstat (limited to 'forms')
-rw-r--r--forms/source/xforms/submission/submission_get.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/forms/source/xforms/submission/submission_get.cxx b/forms/source/xforms/submission/submission_get.cxx
index ae630b504b0c..1ddcd529ef1a 100644
--- a/forms/source/xforms/submission/submission_get.cxx
+++ b/forms/source/xforms/submission/submission_get.cxx
@@ -24,7 +24,6 @@
#include <rtl/strbuf.hxx>
#include <osl/diagnose.h>
#include <ucbhelper/content.hxx>
-#include <com/sun/star/io/Pipe.hpp>
#include <com/sun/star/task/InteractionHandler.hpp>
#include <comphelper/diagnose_ex.hxx>
@@ -80,9 +79,6 @@ CSubmission::SubmissionResult CSubmissionGet::submit(const css::uno::Reference<
}
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))
- return UNKNOWN_ERROR;
// get reply
try {
m_aResultStream = aContent.openStream();