From 212196344c99982aa42ec1eecb36006c9a12655f Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Mon, 1 Jul 2024 15:36:41 +0200 Subject: tdf#161853 vcl: Drop SvtIconChoiceCtrl::DrawEntryImage Just draw the image using the render context right in `SvxIconChoiceCtrl_Impl::PaintItem` instead of having a very specialized static method that's only used from there. Change-Id: Idf8967f6df3823742445906e558fcd7f532271af Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169833 Reviewed-by: Michael Weghorn Tested-by: Jenkins --- include/vcl/toolkit/ivctrl.hxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include/vcl/toolkit') diff --git a/include/vcl/toolkit/ivctrl.hxx b/include/vcl/toolkit/ivctrl.hxx index 318be744c757..0f331a887e9c 100644 --- a/include/vcl/toolkit/ivctrl.hxx +++ b/include/vcl/toolkit/ivctrl.hxx @@ -181,10 +181,6 @@ class UNLESS_MERGELIBS_MORE(VCL_DLLPUBLIC) SvtIconChoiceCtrl final : public Cont void ClickIcon(); virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; virtual void RequestHelp( const HelpEvent& rHEvt ) override; - static void DrawEntryImage( - SvxIconChoiceCtrlEntry const * pEntry, - const Point& rPos, - OutputDevice& rDev ); static OUString GetEntryText( SvxIconChoiceCtrlEntry const * pEntry ); -- cgit