vcl/source/uitest/uno/uitest_uno.cxx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-)
New commits: commit 4b9cc680162d441d6d99d726792d5f902f46e879 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Thu Feb 23 15:10:38 2023 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Fri Feb 24 09:03:52 2023 +0000 use comphelper::WeakComponentImplHelper for UITestUnoObj Change-Id: I4a3d75507791b1a313722adbdd9cd7cc7505ada6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147584 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/vcl/source/uitest/uno/uitest_uno.cxx b/vcl/source/uitest/uno/uitest_uno.cxx index 4e5a6e0e0391..9efbd3c3772d 100644 --- a/vcl/source/uitest/uno/uitest_uno.cxx +++ b/vcl/source/uitest/uno/uitest_uno.cxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <cppuhelper/compbase.hxx> -#include <cppuhelper/basemutex.hxx> +#include <comphelper/compbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> @@ -24,12 +23,11 @@ namespace { - typedef ::cppu::WeakComponentImplHelper < + typedef ::comphelper::WeakComponentImplHelper < css::ui::test::XUITest, css::lang::XServiceInfo > UITestBase; -class UITestUnoObj : public cppu::BaseMutex, - public UITestBase +class UITestUnoObj : public UITestBase { private: std::unique_ptr<UITest> mpUITest; @@ -59,7 +57,6 @@ public: } UITestUnoObj::UITestUnoObj(): - UITestBase(m_aMutex), mpUITest(new UITest) { }