summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-01-01 21:03:37 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-01-02 16:57:03 +0100
commit5d47b46cf2524ddc7147892cd3129c5c78cf4d07 (patch)
tree9918170d8307181e9bc90f57ea801c3d82ff907a /include
parent4a4b9d32e2e05edd0030b257f250e5b42c7c400a (diff)
weld SlideBackground
Change-Id: I6f8792d8212807b4be4a24885e237290e298dfa6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86120 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/papersizelistbox.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/svx/papersizelistbox.hxx b/include/svx/papersizelistbox.hxx
index 34892a8d1ea7..4dea2e176dde 100644
--- a/include/svx/papersizelistbox.hxx
+++ b/include/svx/papersizelistbox.hxx
@@ -51,10 +51,11 @@ public:
SvxPaperSizeListBox(std::unique_ptr<weld::ComboBox> pControl);
void FillPaperSizeEntries(PaperSizeApp eApp);
- void SetSelection(Paper eSize);
- Paper GetSelection() const;
+ void set_active_id(Paper eSize);
+ Paper get_active_id() const;
void connect_changed(const Link<weld::ComboBox&, void>& rLink) { m_xControl->connect_changed(rLink); }
+ int get_active() const { return m_xControl->get_active(); }
void clear() { m_xControl->clear(); }
void save_value() { return m_xControl->save_value(); }
bool get_value_changed_from_saved() const { return m_xControl->get_value_changed_from_saved(); }