From 4970e292fb44f482e84822fa97188bcbdfce2ed4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 16 Oct 2012 14:44:28 +0200 Subject: fdo#46808, convert comphelper::ConfigurationHelper to XComponentContext Convert the helper methods to take an XComponentContext parameter, instead of XMultiServiceFactory Change-Id: Id662d674c6d3c4ddfd35be5fc2e802b73bc6de90 --- ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ucb') 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; -- cgit