diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-01-01 21:03:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-01-02 16:57:03 +0100 |
commit | 5d47b46cf2524ddc7147892cd3129c5c78cf4d07 (patch) | |
tree | 9918170d8307181e9bc90f57ea801c3d82ff907a /svx | |
parent | 4a4b9d32e2e05edd0030b257f250e5b42c7c400a (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 'svx')
-rw-r--r-- | svx/source/dialog/papersizelistbox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/papersizelistbox.cxx b/svx/source/dialog/papersizelistbox.cxx index 9a5440889af1..f1ac6d4c0e40 100644 --- a/svx/source/dialog/papersizelistbox.cxx +++ b/svx/source/dialog/papersizelistbox.cxx @@ -105,7 +105,7 @@ void SvxPaperSizeListBox::FillPaperSizeEntries( PaperSizeApp eApp ) } } -void SvxPaperSizeListBox::SetSelection( Paper ePreselectPaper ) +void SvxPaperSizeListBox::set_active_id( Paper ePreselectPaper ) { int nEntryCount = m_xControl->get_count(); int nSelPos = -1; @@ -128,7 +128,7 @@ void SvxPaperSizeListBox::SetSelection( Paper ePreselectPaper ) m_xControl->set_active((nSelPos != -1) ? nSelPos : nUserPos); } -Paper SvxPaperSizeListBox::GetSelection() const +Paper SvxPaperSizeListBox::get_active_id() const { return static_cast<Paper>(m_xControl->get_active_id().toInt32()); } |