diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-09-07 10:04:28 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-09-08 10:05:10 +0200 |
commit | d2440c757daa7e16e3dec607497cb7175687799d (patch) | |
tree | 824d0fcdcd33c2ec70b1c06eaa121409c2cb23df /vcl/headless/svpgdi.cxx | |
parent | 51d4ba35dd98bf4bae798f38da1d2762f1a1d31e (diff) |
vcl: remove CustomWidgetDraw as it is not needed anymore
CustomWidgetDraw was the first implemetation for custom drawing
of widgets, which was now replaced by FileDefinitionsWidgetDraw
so CustomWidgetDraw is not needed anymore.
Change-Id: I1c7a9fcf720bbfd91d9c44ad4b15a7281a0d0e14
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121740
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/headless/svpgdi.cxx')
-rw-r--r-- | vcl/headless/svpgdi.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index 53d0de812475..c87a90e3fbf9 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -26,7 +26,6 @@ #include <headless/svpbmp.hxx> #include <headless/svpframe.hxx> #include <headless/svpcairotextrender.hxx> -#include <headless/CustomWidgetDraw.hxx> #include <saldatabasic.hxx> #include <sal/log.hxx> @@ -919,11 +918,7 @@ SvpSalGraphics::SvpSalGraphics() , m_aTextRenderImpl(*this) { bool bLOKActive = comphelper::LibreOfficeKit::isActive(); - if (!initWidgetDrawBackends(bLOKActive)) - { - if (bLOKActive) - m_pWidgetDraw.reset(new vcl::CustomWidgetDraw(*this)); - } + initWidgetDrawBackends(bLOKActive); } SvpSalGraphics::~SvpSalGraphics() |