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 /cui | |
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 'cui')
-rw-r--r-- | cui/source/tabpages/page.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx index 8cecd26a51c5..11c533d56d2a 100644 --- a/cui/source/tabpages/page.cxx +++ b/cui/source/tabpages/page.cxx @@ -436,7 +436,7 @@ void SvxPageDescPage::Reset( const SfxItemSet* rSet ) m_xPaperSizeBox->clear(); m_xPaperSizeBox->FillPaperSizeEntries( ( ePaperStart == PAPER_A3 ) ? PaperSizeApp::Std : PaperSizeApp::Draw ); - m_xPaperSizeBox->SetSelection( ePaper ); + m_xPaperSizeBox->set_active_id( ePaper ); // application specific @@ -627,7 +627,7 @@ bool SvxPageDescPage::FillItemSet( SfxItemSet* rSet ) bModified = true; } - Paper ePaper = m_xPaperSizeBox->GetSelection(); + Paper ePaper = m_xPaperSizeBox->get_active_id(); bool bChecked = m_xLandscapeBtn->get_active(); if ( PAPER_USER == ePaper ) @@ -819,7 +819,7 @@ IMPL_LINK_NOARG(SvxPageDescPage, PaperBinHdl_Impl, weld::Widget&, void) IMPL_LINK_NOARG(SvxPageDescPage, PaperSizeSelect_Impl, weld::ComboBox&, void) { - Paper ePaper = m_xPaperSizeBox->GetSelection(); + Paper ePaper = m_xPaperSizeBox->get_active_id(); if ( ePaper != PAPER_USER ) { @@ -884,7 +884,7 @@ IMPL_LINK_NOARG(SvxPageDescPage, PaperSizeModify_Impl, weld::MetricSpinButton&, } Paper ePaper = SvxPaperInfo::GetSvxPaper( aSize, eUnit ); - m_xPaperSizeBox->SetSelection( ePaper ); + m_xPaperSizeBox->set_active_id( ePaper ); UpdateExample_Impl( true ); RangeHdl_Impl(); @@ -1238,7 +1238,7 @@ DeactivateRC SvxPageDescPage::DeactivatePage( SfxItemSet* _pSet ) // Inquiry whether the page margins are beyond the printing area. // If not, ask user whether they shall be taken. // If not, stay on the TabPage. - Paper ePaper = m_xPaperSizeBox->GetSelection(); + Paper ePaper = m_xPaperSizeBox->get_active_id(); if ( ePaper != PAPER_SCREEN_4_3 && ePaper != PAPER_SCREEN_16_9 && ePaper != PAPER_SCREEN_16_10 && IsMarginOutOfRange() ) { |