ucb/source/ucp/webdav/webdavprovider.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 80146da04ce3595aa95f30d7490b83c048b0a000
Author:     Andrew Udvare <audv...@gmail.com>
AuthorDate: Thu Dec 24 06:04:16 2020 -0500
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Thu Apr 15 00:21:33 2021 +0200

    ucp: fix call to getComponentContext
    
    Commit 3f9940c2e050830051a31e4b70736132e034a9db mistakenly removed
    include/ucbhelper/getcomponentcontext.hxx seeing the getComponentContext 
method
    as unused.
    According to that file, ucbhelper::getComponentContext was just a duplicate 
of
    comphelper::getComponentContext so this commit changes to calling that 
method
    instead.
    
    Change-Id: Ibd66b56a72afce437a26417d7944ec1ace34a4eb
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108262
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>
    Tested-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/ucb/source/ucp/webdav/webdavprovider.cxx 
b/ucb/source/ucp/webdav/webdavprovider.cxx
index 462e4e5a98f7..570b36e6180c 100644
--- a/ucb/source/ucp/webdav/webdavprovider.cxx
+++ b/ucb/source/ucp/webdav/webdavprovider.cxx
@@ -17,6 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <comphelper/processfactory.hxx>
 #include <ucbhelper/contentidentifier.hxx>
 #include <ucbhelper/macros.hxx>
 #include "webdavprovider.hxx"
@@ -106,7 +107,7 @@ static css::uno::Reference< css::uno::XInterface >
 ContentProvider_CreateInstance( const css::uno::Reference< 
css::lang::XMultiServiceFactory> & rSMgr )
 {
     css::lang::XServiceInfo* pX =
-                static_cast<css::lang::XServiceInfo*>(new ContentProvider( 
ucbhelper::getComponentContext(rSMgr) ));
+                static_cast<css::lang::XServiceInfo*>(new ContentProvider( 
comphelper::getComponentContext(rSMgr) ));
     return css::uno::Reference< css::uno::XInterface >::query( pX );
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to