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
This commit is contained in:
Rüdiger Timm
2005-05-13 07:08:43 +00:00
parent 8dfda5ea9e
commit 2250794f21
2 changed files with 6 additions and 11 deletions

View File

@@ -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");
}

View File

@@ -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)
{