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:
@@ -2,9 +2,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: submission_post.cxx,v $
|
* $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
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
@@ -126,7 +126,7 @@ CSubmission::SubmissionResult CSubmissionPost::submit(const CSS::uno::Reference<
|
|||||||
// wait for command to finish
|
// wait for command to finish
|
||||||
// pProgressHelper->m_cFinished.wait();
|
// pProgressHelper->m_cFinished.wait();
|
||||||
try {
|
try {
|
||||||
m_aResultStream = aContent.openStream();
|
m_aResultStream = Reference< XInputStream >(aSink, UNO_QUERY_THROW);
|
||||||
} catch (Exception& oe) {
|
} catch (Exception& oe) {
|
||||||
OSL_ENSURE(sal_False, "Cannot open reply stream from content");
|
OSL_ENSURE(sal_False, "Cannot open reply stream from content");
|
||||||
}
|
}
|
||||||
|
@@ -2,9 +2,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: submission_put.cxx,v $
|
* $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
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
@@ -115,12 +115,7 @@ CSubmission::SubmissionResult CSubmissionPut::submit(const CSS::uno::Reference<
|
|||||||
aContent.writeStream(aInStream, sal_True);
|
aContent.writeStream(aInStream, sal_True);
|
||||||
//aContent.closeStream();
|
//aContent.closeStream();
|
||||||
|
|
||||||
// get reply (if any)
|
// no content as a result of put...
|
||||||
try {
|
|
||||||
m_aResultStream = aContent.openStream();
|
|
||||||
} catch (Exception& oe) {
|
|
||||||
OSL_ENSURE(sal_False, "Cannot open reply stream from content");
|
|
||||||
}
|
|
||||||
|
|
||||||
} catch (Exception& e)
|
} catch (Exception& e)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user