summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-09-10 11:41:56 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-09-10 17:37:25 +0200
commit12637b0f83b3a3d9d740882e0e8e7cc0a442cde2 (patch)
treef3765fb14a146d71f7106d3296e0243d94513ff3 /ucb
parent0ed04982cbbdba7c0ec6db2a53aca9496ab4bb6f (diff)
suspicious MutexGuard placement
Change-Id: I3b5cf5984a1a852d2482b8a417fc46c836ea2dc2 Reviewed-on: https://gerrit.libreoffice.org/60258 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav-neon/DAVSessionFactory.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav-neon/DAVSessionFactory.cxx b/ucb/source/ucp/webdav-neon/DAVSessionFactory.cxx
index b49a2cad68f1..ba0df6f79bfe 100644
--- a/ucb/source/ucp/webdav-neon/DAVSessionFactory.cxx
+++ b/ucb/source/ucp/webdav-neon/DAVSessionFactory.cxx
@@ -45,10 +45,10 @@ rtl::Reference< DAVSession > DAVSessionFactory::createDAVSession(
const uno::Sequence< beans::NamedValue >& rFlags,
const uno::Reference< uno::XComponentContext > & rxContext )
{
- m_xContext = rxContext;
-
osl::MutexGuard aGuard( m_aMutex );
+ m_xContext = rxContext;
+
if ( !m_xProxyDecider.get() )
m_xProxyDecider.reset( new ucbhelper::InternetProxyDecider( rxContext ) );