diff options
author | Noel Grandin <noel@peralex.com> | 2012-11-01 15:01:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-11-05 16:43:15 +0100 |
commit | ec1c96a9b69a5a2546fe2564cd92fe9e33471fbc (patch) | |
tree | dd7fcf0feadfbf456b351f752dc8d28dd1deffbf /sw | |
parent | 41a71413f4ebe69a48ee068fd5c785d6015c0cca (diff) |
fdo#46808,remove unnecessary MSF field from ucbhelper::ContentIdentifier
...which has lots of nice knock-on effects.
Change-Id: Icc93fdb70f24903b08702654db4e1105eb1d438e
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/swunohelper.cxx | 9 |
1 files changed, 2 insertions, 7 deletions
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()); |