Kaydet (Commit) 2250794f authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS lo5 (1.3.18); FILE MERGED

2005/05/02 08:51:50 lo 1.3.18.1: #i47865# fix post submission reply handling
üst 8dfda5ea
......@@ -2,9 +2,9 @@
*
* $RCSfile: submission_post.cxx,v $
*
* $Revision: 1.3 $
* $Revision: 1.4 $
*
* last change: $Author: vg $ $Date: 2005-03-23 11:40:39 $
* last change: $Author: rt $ $Date: 2005-05-13 08:08:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -126,7 +126,7 @@ CSubmission::SubmissionResult CSubmissionPost::submit(const CSS::uno::Reference<
// wait for command to finish
// pProgressHelper->m_cFinished.wait();
try {
m_aResultStream = aContent.openStream();
m_aResultStream = Reference< XInputStream >(aSink, UNO_QUERY_THROW);
} catch (Exception& oe) {
OSL_ENSURE(sal_False, "Cannot open reply stream from content");
}
......
......@@ -2,9 +2,9 @@
*
* $RCSfile: submission_put.cxx,v $
*
* $Revision: 1.3 $
* $Revision: 1.4 $
*
* last change: $Author: vg $ $Date: 2005-03-23 11:41:04 $
* last change: $Author: rt $ $Date: 2005-05-13 08:08:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -115,12 +115,7 @@ CSubmission::SubmissionResult CSubmissionPut::submit(const CSS::uno::Reference<
aContent.writeStream(aInStream, sal_True);
//aContent.closeStream();
// get reply (if any)
try {
m_aResultStream = aContent.openStream();
} catch (Exception& oe) {
OSL_ENSURE(sal_False, "Cannot open reply stream from content");
}
// no content as a result of put...
} catch (Exception& e)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment