Kaydet (Commit) 12637b0f authored tarafından Caolán McNamara's avatar Caolán McNamara

suspicious MutexGuard placement

Change-Id: I3b5cf5984a1a852d2482b8a417fc46c836ea2dc2
Reviewed-on: https://gerrit.libreoffice.org/60258Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 0ed04982
......@@ -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 ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment