webdavservices.cxx (2f86921c) | webdavservices.cxx (59ddfc10) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 38 unchanged lines hidden (view full) --- 47 reinterpret_cast< lang::XMultiServiceFactory * >( 48 pServiceManager ) ); 49 uno::Reference< lang::XSingleServiceFactory > xFactory; 50 51 ////////////////////////////////////////////////////////////////////// 52 // WebDAV Content Provider. 53 ////////////////////////////////////////////////////////////////////// 54 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 38 unchanged lines hidden (view full) --- 47 reinterpret_cast< lang::XMultiServiceFactory * >( 48 pServiceManager ) ); 49 uno::Reference< lang::XSingleServiceFactory > xFactory; 50 51 ////////////////////////////////////////////////////////////////////// 52 // WebDAV Content Provider. 53 ////////////////////////////////////////////////////////////////////// 54 |
55 if ( ::webdav_ucp::ContentProvider::getImplementationName_Static(). | 55 if ( ::http_dav_ucp::ContentProvider::getImplementationName_Static(). |
56 compareToAscii( pImplName ) == 0 ) 57 { | 56 compareToAscii( pImplName ) == 0 ) 57 { |
58 xFactory = ::webdav_ucp::ContentProvider::createServiceFactory( xSMgr ); | 58 xFactory = ::http_dav_ucp::ContentProvider::createServiceFactory( xSMgr ); |
59 } 60 61 ////////////////////////////////////////////////////////////////////// 62 63 if ( xFactory.is() ) 64 { 65 xFactory->acquire(); 66 pRet = xFactory.get(); 67 } 68 69 return pRet; 70} 71 72 | 59 } 60 61 ////////////////////////////////////////////////////////////////////// 62 63 if ( xFactory.is() ) 64 { 65 xFactory->acquire(); 66 pRet = xFactory.get(); 67 } 68 69 return pRet; 70} 71 72 |