summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav/webdavprovider.cxx
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-03-29 10:53:09 +0100
committerMatúš Kukan <matus.kukan@collabora.com>2014-03-29 10:59:54 +0100
commit1ab55661f3194aa78a0f95c6397d2b546775d04c (patch)
tree4038b226ed6674b79ed34a26298a20bc3f8b7ead /ucb/source/ucp/webdav/webdavprovider.cxx
parentffaf640b734885d2844a99cc1fd61c8a6a1d663b (diff)
webdav: Store DAVSessionFactory again in ContentProvider.
So that we use only one its instance. Erroneously removed in 05671c1f01c73bd3f4773c9653d95e3188657eb3. Change-Id: I714e41bf0b9af88f1bb0d8809a108370c73a9849
Diffstat (limited to 'ucb/source/ucp/webdav/webdavprovider.cxx')
-rw-r--r--ucb/source/ucp/webdav/webdavprovider.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/ucb/source/ucp/webdav/webdavprovider.cxx b/ucb/source/ucp/webdav/webdavprovider.cxx
index 0cf92da2010e..16684d8d8bfa 100644
--- a/ucb/source/ucp/webdav/webdavprovider.cxx
+++ b/ucb/source/ucp/webdav/webdavprovider.cxx
@@ -39,6 +39,7 @@ using namespace http_dav_ucp;
ContentProvider::ContentProvider(
const uno::Reference< uno::XComponentContext >& rContext )
: ::ucbhelper::ContentProviderImplHelper( rContext ),
+ m_xDAVSessionFactory( new DAVSessionFactory() ),
m_pProps( 0 )
{
}
@@ -195,7 +196,7 @@ ContentProvider::queryContent(
try
{
xContent = new ::http_dav_ucp::Content(
- m_xContext, this, xCanonicId, new DAVSessionFactory() );
+ m_xContext, this, xCanonicId, m_xDAVSessionFactory );
registerNewContent( xContent );
}
catch ( ucb::ContentCreationException const & )