use comphelper::WeakComponentImplHelper for UIObjectUnoObj
Change-Id: I5aa340e9bc8abc498f37636f191c47c738fa1c63 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147585 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -41,7 +41,6 @@ struct Notifier {
|
||||
}
|
||||
|
||||
UIObjectUnoObj::UIObjectUnoObj(std::unique_ptr<UIObject> pObj):
|
||||
UIObjectBase(m_aMutex),
|
||||
mpObj(std::move(pObj))
|
||||
{
|
||||
}
|
||||
|
@@ -9,8 +9,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <cppuhelper/compbase.hxx>
|
||||
#include <cppuhelper/basemutex.hxx>
|
||||
#include <comphelper/compbase.hxx>
|
||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <com/sun/star/ui/test/XUIObject.hpp>
|
||||
|
||||
@@ -18,12 +17,11 @@
|
||||
|
||||
#include <vcl/uitest/uiobject.hxx>
|
||||
|
||||
typedef ::cppu::WeakComponentImplHelper <
|
||||
typedef ::comphelper::WeakComponentImplHelper <
|
||||
css::ui::test::XUIObject, css::lang::XServiceInfo
|
||||
> UIObjectBase;
|
||||
|
||||
class UIObjectUnoObj : public cppu::BaseMutex,
|
||||
public UIObjectBase
|
||||
class UIObjectUnoObj : public UIObjectBase
|
||||
{
|
||||
private:
|
||||
std::unique_ptr<UIObject> mpObj;
|
||||
|
Reference in New Issue
Block a user