From ec1c96a9b69a5a2546fe2564cd92fe9e33471fbc Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 1 Nov 2012 15:01:34 +0200 Subject: fdo#46808,remove unnecessary MSF field from ucbhelper::ContentIdentifier ...which has lots of nice knock-on effects. Change-Id: Icc93fdb70f24903b08702654db4e1105eb1d438e --- sw/source/core/unocore/swunohelper.cxx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'sw') diff --git a/sw/source/core/unocore/swunohelper.cxx b/sw/source/core/unocore/swunohelper.cxx index 6397eebc2830..080d278dd7cb 100644 --- a/sw/source/core/unocore/swunohelper.cxx +++ b/sw/source/core/unocore/swunohelper.cxx @@ -123,19 +123,14 @@ sal_Bool UCB_IsCaseSensitiveFileName( const String& rURL ) sal_Bool bCaseSensitive; try { - ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xMSF = - comphelper::getProcessServiceFactory(); - INetURLObject aTempObj( rURL ); aTempObj.SetBase( aTempObj.GetBase().toAsciiLowerCase() ); ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContentIdentifier > xRef1 = new - ucbhelper::ContentIdentifier( xMSF, - aTempObj.GetMainURL( INetURLObject::NO_DECODE )); + ucbhelper::ContentIdentifier( aTempObj.GetMainURL( INetURLObject::NO_DECODE )); aTempObj.SetBase(aTempObj.GetBase().toAsciiUpperCase()); ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContentIdentifier > xRef2 = new - ucbhelper::ContentIdentifier( xMSF, - aTempObj.GetMainURL( INetURLObject::NO_DECODE )); + ucbhelper::ContentIdentifier( aTempObj.GetMainURL( INetURLObject::NO_DECODE )); ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XUniversalContentBroker > xUcb = com::sun::star::ucb::UniversalContentBroker::create(comphelper::getProcessComponentContext()); -- cgit