summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-09-20 12:52:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-09-20 18:13:25 +0200
commit1c52d39970de2daeac565165491ba82122ce299c (patch)
tree4c622ccb7cae70e48f17fb844b42a092c7286ea3 /vcl/source
parentf6ab12d5dae1212b0ad4e82ca3325f3dd4c974b6 (diff)
weld SwWrapTabPage
Change-Id: I76e4a8e557ae6c92ad16dc9b6cf88a6c6ca59e4e Reviewed-on: https://gerrit.libreoffice.org/60812 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/salvtables.cxx10
1 files changed, 10 insertions, 0 deletions
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