From ebeb1d1ae554e8301d876b19afc05f454acdfc1c Mon Sep 17 00:00:00 2001 From: Szymon Kłos Date: Fri, 2 Apr 2021 20:13:32 +0200 Subject: jsdialog: uitest: handle click for drawing area MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5ea78697b87f4b2a468f8507470b62031bee4aa0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113524 Tested-by: Jenkins CollaboraOffice Reviewed-by: Jan Holesovsky Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114202 Tested-by: Jenkins Reviewed-by: Szymon Kłos --- include/vcl/layout.hxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'include/vcl/layout.hxx') diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx index 9a896915b1ed..5a2b7310ea48 100644 --- a/include/vcl/layout.hxx +++ b/include/vcl/layout.hxx @@ -707,12 +707,7 @@ private: } } virtual void StartDrag(sal_Int8 nAction, const Point& rPosPixel) override; - virtual FactoryFunction GetUITestFactory() const override - { - if (m_pFactoryFunction) - return m_pFactoryFunction; - return Control::GetUITestFactory(); - } + virtual FactoryFunction GetUITestFactory() const override; public: VclDrawingArea(vcl::Window *pParent, WinBits nStyle) -- cgit