diff options
Diffstat (limited to 'cui/source/options')
-rw-r--r-- | cui/source/options/dbregister.cxx | 2 | ||||
-rw-r--r-- | cui/source/options/fontsubs.cxx | 2 | ||||
-rw-r--r-- | cui/source/options/optpath.cxx | 2 | ||||
-rw-r--r-- | cui/source/options/treeopt.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/options/dbregister.cxx b/cui/source/options/dbregister.cxx index c3a422c0d6fe..46034fb9e1b9 100644 --- a/cui/source/options/dbregister.cxx +++ b/cui/source/options/dbregister.cxx @@ -147,7 +147,7 @@ DbRegistrationOptionsPage::DbRegistrationOptionsPage( vcl::Window* pParent, cons m_pPathBox->SetStyle( m_pPathBox->GetStyle()|nBits ); m_pPathBox->SetDoubleClickHdl( LINK( this, DbRegistrationOptionsPage, PathBoxDoubleClickHdl ) ); m_pPathBox->SetSelectHdl( LINK( this, DbRegistrationOptionsPage, PathSelect_Impl ) ); - m_pPathBox->SetSelectionMode( SINGLE_SELECTION ); + m_pPathBox->SetSelectionMode( SelectionMode::Single ); m_pPathBox->SetPosSizePixel( Point( 0, aHeadSize.Height() ), Size( aBoxSize.Width(), aBoxSize.Height() - aHeadSize.Height() ) ); m_pPathBox->SvSimpleTable::SetTabs( aTabs ); diff --git a/cui/source/options/fontsubs.cxx b/cui/source/options/fontsubs.cxx index 64235681c64f..30e9d5e21ae7 100644 --- a/cui/source/options/fontsubs.cxx +++ b/cui/source/options/fontsubs.cxx @@ -67,7 +67,7 @@ SvxFontSubstTabPage::SvxFontSubstTabPage( vcl::Window* pParent, m_pCheckLB->SetHelpId(HID_OFA_FONT_SUBST_CLB); m_pCheckLB->SetStyle(m_pCheckLB->GetStyle()|WB_HSCROLL|WB_VSCROLL); - m_pCheckLB->SetSelectionMode(MULTIPLE_SELECTION); + m_pCheckLB->SetSelectionMode(SelectionMode::Multiple); m_pCheckLB->SortByCol(2); long aStaticTabs[] = { 4, 0, 0, 0, 0 }; m_pCheckLB->SvSimpleTable::SetTabs(&aStaticTabs[0]); diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx index 2a52540dae83..14fa4782f099 100644 --- a/cui/source/options/optpath.cxx +++ b/cui/source/options/optpath.cxx @@ -231,7 +231,7 @@ SvxPathTabPage::SvxPathTabPage(vcl::Window* pParent, const SfxItemSet& rSet) pPathBox->SetDoubleClickHdl( LINK( this, SvxPathTabPage, DoubleClickPathHdl_Impl ) ); pPathBox->SetSelectHdl( LINK( this, SvxPathTabPage, PathSelect_Impl ) ); - pPathBox->SetSelectionMode( MULTIPLE_SELECTION ); + pPathBox->SetSelectionMode( SelectionMode::Multiple ); pPathBox->SetHighlightRange(); xDialogListener->SetDialogClosedLink( LINK( this, SvxPathTabPage, DialogClosedHdl ) ); diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index 6cf6e03deea8..a2d47e0741d8 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -785,7 +785,7 @@ void OfaTreeOptionsDialog::InitTreeAndHandler() WB_HASLINES | WB_HASLINESATROOT | WB_CLIPCHILDREN | WB_HSCROLL | WB_FORCE_MAKEVISIBLE | WB_QUICK_SEARCH ); pTreeLB->SetSpaceBetweenEntries( 0 ); - pTreeLB->SetSelectionMode( SINGLE_SELECTION ); + pTreeLB->SetSelectionMode( SelectionMode::Single ); pTreeLB->SetSublistOpenWithLeftRight(); pTreeLB->SetExpandedHdl( LINK( this, OfaTreeOptionsDialog, ExpandedHdl_Impl ) ); pTreeLB->SetSelectHdl( LINK( this, OfaTreeOptionsDialog, ShowPageHdl_Impl ) ); |