From 1c52d39970de2daeac565165491ba82122ce299c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 20 Sep 2018 12:52:26 +0100 Subject: weld SwWrapTabPage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I76e4a8e557ae6c92ad16dc9b6cf88a6c6ca59e4e Reviewed-on: https://gerrit.libreoffice.org/60812 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- vcl/source/app/salvtables.cxx | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'vcl/source') diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index f6827975dc61..10472c2df71b 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -1070,6 +1070,11 @@ public: m_xButton->SetModeImage(Image()); } + virtual void set_from_icon_name(const OUString& rIconName) override + { + m_xButton->SetModeImage(::Image(BitmapEx(rIconName))); + } + virtual OUString get_label() const override { return m_xButton->GetText(); @@ -1210,6 +1215,11 @@ public: return m_xRadioButton->IsChecked(); } + virtual void set_from_icon_name(const OUString& rIconName) override + { + m_xRadioButton->SetModeRadioImage(::Image(BitmapEx(rIconName))); + } + virtual void set_inconsistent(bool /*inconsistent*/) override { //not available -- cgit -1'>distro/cib/libreoffice-5-1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff