summaryrefslogtreecommitdiff
path: root/forms/source/xforms/submission/submission_post.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/xforms/submission/submission_post.cxx')
-rw-r--r--forms/source/xforms/submission/submission_post.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/forms/source/xforms/submission/submission_post.cxx b/forms/source/xforms/submission/submission_post.cxx
index c76d492873d9..114b2518afd1 100644
--- a/forms/source/xforms/submission/submission_post.cxx
+++ b/forms/source/xforms/submission/submission_post.cxx
@@ -66,7 +66,6 @@ CSubmission::SubmissionResult CSubmissionPost::submit(const CSS::uno::Reference<
ucbhelper::Content aContent(m_aURLObj.GetMainURL(INetURLObject::NO_DECODE), aEnvironment);
// use post command
-
OUString aCommandName(RTL_CONSTASCII_USTRINGPARAM("post"));
PostCommandArgument2 aPostArgument;
aPostArgument.Source = apSerialization->getInputStream();
@@ -78,26 +77,17 @@ CSubmission::SubmissionResult CSubmissionPost::submit(const CSS::uno::Reference<
aCommandArgument <<= aPostArgument;
aContent.executeCommand( aCommandName, aCommandArgument);
- // wait for command to finish
- // pProgressHelper->m_cFinished.wait();
-
- // CSS::uno::Reference< XOutputStream > xOut(aSink, UNO_QUERY_THROW);
- // xOut->closeOutput();
-
try {
- // m_aResultStream = CSS::uno::Reference< XInputStream >(aSink, UNO_QUERY_THROW);
m_aResultStream = aSink->getInputStream();
} catch (Exception&) {
OSL_ENSURE(sal_False, "Cannot open reply stream from content");
}
} catch (Exception&)
{
- // XXX
OSL_ENSURE(sal_False, "Exception during UCB operatration.");
return UNKNOWN_ERROR;
}
-
return SUCCESS;
}