diff options
author | Noel Grandin <noel@peralex.com> | 2012-10-16 14:44:28 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-10-24 16:49:49 +0200 |
commit | 4970e292fb44f482e84822fa97188bcbdfce2ed4 (patch) | |
tree | 4e956e261703083b48f68d7ae7c36900bf5ae750 /ucb | |
parent | 4cc5ccef4bccc779f6286ac369b00dfd42ca9cdb (diff) |
fdo#46808, convert comphelper::ConfigurationHelper to XComponentContext
Convert the helper methods to take an XComponentContext parameter,
instead of XMultiServiceFactory
Change-Id: Id662d674c6d3c4ddfd35be5fc2e802b73bc6de90
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx index 890f94ba03cf..b001e1444f2e 100644 --- a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx +++ b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx @@ -33,6 +33,7 @@ #include "com/sun/star/ucb/XWebDAVCommandEnvironment.hpp" #include "ucbhelper/simpleauthenticationrequest.hxx" +#include "comphelper/processfactory.hxx" #include "comphelper/seekableinput.hxx" #include "DAVAuthListenerImpl.hxx" @@ -597,7 +598,7 @@ void DAVResourceAccess::PUT( // Make stream seekable, if it not. Needed, if request must be retried. uno::Reference< io::XInputStream > xSeekableStream = comphelper::OSeekableInputWrapper::CheckSeekableCanWrap( - rStream, m_xSMgr ); + rStream, comphelper::getComponentContext(m_xSMgr) ); int errorCount = 0; bool bRetry = false; @@ -646,7 +647,7 @@ uno::Reference< io::XInputStream > DAVResourceAccess::POST( // Make stream seekable, if it not. Needed, if request must be retried. uno::Reference< io::XInputStream > xSeekableStream = comphelper::OSeekableInputWrapper::CheckSeekableCanWrap( - rInputStream, m_xSMgr ); + rInputStream, comphelper::getComponentContext(m_xSMgr) ); uno::Reference< io::XInputStream > xStream; int errorCount = 0; @@ -710,7 +711,7 @@ void DAVResourceAccess::POST( // Make stream seekable, if it not. Needed, if request must be retried. uno::Reference< io::XInputStream > xSeekableStream = comphelper::OSeekableInputWrapper::CheckSeekableCanWrap( - rInputStream, m_xSMgr ); + rInputStream, comphelper::getComponentContext(m_xSMgr) ); int errorCount = 0; bool bRetry = false; |