diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-06-05 16:45:25 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-06-05 16:45:25 +0000 |
commit | f3d0624dfbe9ff910af5e7252972e8b469a5f491 (patch) | |
tree | 4212040ebafe87fc557e10de6138166fe950d34d /forms/source/xforms/submission/submission_get.cxx | |
parent | efd42cfb93be7343f0ef6f9cb689e6e33d43c9dc (diff) |
INTEGRATION: CWS bgdlremove (1.7.58); FILE MERGED
2007/05/18 09:06:14 kso 1.7.58.2: #i77419# - cleanup of ucbhelper namespaces.
2007/05/11 08:56:35 kso 1.7.58.1: #i76911# - ucbhelper lib no longer uses VOS.
(vos::ORef => rtl::Reference, vos::OMutex => osl::Mutex, ...)
Diffstat (limited to 'forms/source/xforms/submission/submission_get.cxx')
-rw-r--r-- | forms/source/xforms/submission/submission_get.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/forms/source/xforms/submission/submission_get.cxx b/forms/source/xforms/submission/submission_get.cxx index c13bd9b74e42..31b451111f0d 100644 --- a/forms/source/xforms/submission/submission_get.cxx +++ b/forms/source/xforms/submission/submission_get.cxx @@ -4,9 +4,9 @@ * * $RCSfile: submission_get.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: obo $ $Date: 2006-10-12 11:15:32 $ + * last change: $Author: ihi $ $Date: 2007-06-05 17:45:25 $ * * 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; @@ -71,21 +71,21 @@ CSubmission::SubmissionResult CSubmissionGet::submit(const CSS::uno::Reference< apSerialization->setSource(m_aFragment); apSerialization->serialize(); - Reference< XInputStream > aInStream = apSerialization->getInputStream(); + CSS::uno::Reference< XInputStream > aInStream = apSerialization->getInputStream(); // create a commandEnvironment and use the default interaction handler CCommandEnvironmentHelper *pHelper = new CCommandEnvironmentHelper; 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); // append query string to the URL try { @@ -104,8 +104,8 @@ CSubmission::SubmissionResult CSubmissionGet::submit(const CSS::uno::Reference< aUTF8QueryURL.append(aQueryString.makeStringAndClear()); } OUString aQueryURL = OStringToOUString(aUTF8QueryURL.makeStringAndClear(), RTL_TEXTENCODING_UTF8); - ucb::Content aContent(aQueryURL, aEnvironment); - Reference< XOutputStream > aPipe(m_aFactory->createInstance( + ucbhelper::Content aContent(aQueryURL, aEnvironment); + CSS::uno::Reference< XOutputStream > aPipe(m_aFactory->createInstance( OUString::createFromAscii("com.sun.star.io.Pipe")), UNO_QUERY_THROW); aContent.openStream(aPipe); // get reply |