summaryrefslogtreecommitdiff
path: root/forms/source/xforms
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-06-05 16:45:38 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-06-05 16:45:38 +0000
commit0d5e9d89bfec613b401d7e2a1dace739e6d380b6 (patch)
tree6d103a632fe8da0e942b30e2c7e8ccfd0faa0564 /forms/source/xforms
parentf3d0624dfbe9ff910af5e7252972e8b469a5f491 (diff)
INTEGRATION: CWS bgdlremove (1.8.58); FILE MERGED
2007/05/18 09:06:15 kso 1.8.58.2: #i77419# - cleanup of ucbhelper namespaces. 2007/05/11 08:56:35 kso 1.8.58.1: #i76911# - ucbhelper lib no longer uses VOS. (vos::ORef => rtl::Reference, vos::OMutex => osl::Mutex, ...)
Diffstat (limited to 'forms/source/xforms')
-rw-r--r--forms/source/xforms/submission/submission_post.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/forms/source/xforms/submission/submission_post.cxx b/forms/source/xforms/submission/submission_post.cxx
index e894cdabc936..4bdc22ee418f 100644
--- a/forms/source/xforms/submission/submission_post.cxx
+++ b/forms/source/xforms/submission/submission_post.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: submission_post.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: obo $ $Date: 2006-10-12 11:15:45 $
+ * last change: $Author: ihi $ $Date: 2007-06-05 17:45:38 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -54,7 +54,7 @@ using namespace CSS::task;
using namespace CSS::io;
using namespace rtl;
using namespace osl;
-using namespace ucb;
+using namespace ucbhelper;
using namespace std;
@@ -76,25 +76,25 @@ CSubmission::SubmissionResult CSubmissionPost::submit(const CSS::uno::Reference<
if( aInteractionHandler.is() )
pHelper->m_aInteractionHandler = aInteractionHandler;
else
- pHelper->m_aInteractionHandler = Reference< XInteractionHandler >(m_aFactory->createInstance(
+ pHelper->m_aInteractionHandler = CSS::uno::Reference< XInteractionHandler >(m_aFactory->createInstance(
OUString::createFromAscii("com.sun.star.task.InteractionHandler")), UNO_QUERY);
OSL_ENSURE(pHelper->m_aInteractionHandler.is(), "failed to create IntreractionHandler");
CProgressHandlerHelper *pProgressHelper = new CProgressHandlerHelper;
- pHelper->m_aProgressHandler = Reference< XProgressHandler >(pProgressHelper);
+ pHelper->m_aProgressHandler = CSS::uno::Reference< XProgressHandler >(pProgressHelper);
// UCB has ownership of environment...
- Reference< XCommandEnvironment > aEnvironment(pHelper);
+ CSS::uno::Reference< XCommandEnvironment > aEnvironment(pHelper);
try {
- ucb::Content aContent(m_aURLObj.GetMainURL(INetURLObject::NO_DECODE), aEnvironment);
+ ucbhelper::Content aContent(m_aURLObj.GetMainURL(INetURLObject::NO_DECODE), aEnvironment);
// use post command
OUString aCommandName = OUString::createFromAscii("post");
PostCommandArgument2 aPostArgument;
aPostArgument.Source = apSerialization->getInputStream();
- //Reference< XInterface > aSink( m_aFactory->createInstance(
+ //CSS::uno::Reference< XInterface > aSink( m_aFactory->createInstance(
// OUString::createFromAscii("com.sun.star.io.Pipe")), UNO_QUERY_THROW);
- Reference< XActiveDataSink > aSink(new ucb::ActiveDataSink);
+ CSS::uno::Reference< XActiveDataSink > aSink(new ucbhelper::ActiveDataSink);
// OUString::createFromAscii("com.sun.star.io.Pipe")), UNO_QUERY_THROW);
aPostArgument.Sink = aSink;
aPostArgument.MediaType = OUString::createFromAscii("application/xml");
@@ -106,11 +106,11 @@ CSubmission::SubmissionResult CSubmissionPost::submit(const CSS::uno::Reference<
// wait for command to finish
// pProgressHelper->m_cFinished.wait();
- // Reference< XOutputStream > xOut(aSink, UNO_QUERY_THROW);
+ // CSS::uno::Reference< XOutputStream > xOut(aSink, UNO_QUERY_THROW);
// xOut->closeOutput();
try {
- // m_aResultStream = Reference< XInputStream >(aSink, UNO_QUERY_THROW);
+ // 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");