summaryrefslogtreecommitdiff
path: root/include/vcl/toolkit
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-07-01 15:36:41 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2024-07-02 10:01:16 +0200
commit212196344c99982aa42ec1eecb36006c9a12655f (patch)
tree2439dce218a30dabfcba754e89d8ccd0a4cdc2f0 /include/vcl/toolkit
parent9780e0843f5ee6165b8d8bc4c01071e7a2be9742 (diff)
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 <m.weghorn@posteo.de> Tested-by: Jenkins
Diffstat (limited to 'include/vcl/toolkit')
-rw-r--r--include/vcl/toolkit/ivctrl.hxx4
1 files changed, 0 insertions, 4 deletions
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 );