summaryrefslogtreecommitdiff
path: root/svl/source/misc/lockfilecommon.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/misc/lockfilecommon.cxx')
-rw-r--r--svl/source/misc/lockfilecommon.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/svl/source/misc/lockfilecommon.cxx b/svl/source/misc/lockfilecommon.cxx
index 7df914d7f6f5..bb5ae628bf6b 100644
--- a/svl/source/misc/lockfilecommon.cxx
+++ b/svl/source/misc/lockfilecommon.cxx
@@ -54,12 +54,8 @@ using namespace ::com::sun::star;
namespace svt {
// ----------------------------------------------------------------------
-LockFileCommon::LockFileCommon( const ::rtl::OUString& aOrigURL, const uno::Reference< lang::XMultiServiceFactory >& xFactory, const ::rtl::OUString& aPrefix )
-: m_xFactory( xFactory )
+LockFileCommon::LockFileCommon( const ::rtl::OUString& aOrigURL, const ::rtl::OUString& aPrefix )
{
- if ( !m_xFactory.is() )
- m_xFactory = ::comphelper::getProcessServiceFactory();
-
INetURLObject aDocURL = ResolveLinks( INetURLObject( aOrigURL ) );
::rtl::OUString aShareURLString = aDocURL.GetPartBeforeLastName();