diff options
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/app/AppDetailPageHelper.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/app/AppDetailView.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/app/AppIconControl.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/adtabdlg.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/indexdialog.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/sqlmessage.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/tablespage.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/misc/WNameMatch.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/TableWindow.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/TableWindowListBox.cxx | 2 |
10 files changed, 11 insertions, 11 deletions
diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.cxx b/dbaccess/source/ui/app/AppDetailPageHelper.cxx index 836059f28935..4c1a541f9e84 100644 --- a/dbaccess/source/ui/app/AppDetailPageHelper.cxx +++ b/dbaccess/source/ui/app/AppDetailPageHelper.cxx @@ -738,7 +738,7 @@ DBTreeListBox* OAppDetailPageHelper::createTree( DBTreeListBox* _pTreeView, cons _pTreeView->SetStyle(_pTreeView->GetStyle() | WB_HASLINES | WB_SORT | WB_HASBUTTONS | WB_HSCROLL |WB_HASBUTTONSATROOT | WB_TABSTOP); _pTreeView->GetModel()->SetSortMode(SortAscending); _pTreeView->EnableCheckButton( nullptr ); // do not show any buttons - _pTreeView->SetSelectionMode(MULTIPLE_SELECTION); + _pTreeView->SetSelectionMode(SelectionMode::Multiple); _pTreeView->SetDefaultCollapsedEntryBmp( _rImage ); _pTreeView->SetDefaultExpandedEntryBmp( _rImage ); diff --git a/dbaccess/source/ui/app/AppDetailView.cxx b/dbaccess/source/ui/app/AppDetailView.cxx index 6a481b3b56a0..4e26e022164f 100644 --- a/dbaccess/source/ui/app/AppDetailView.cxx +++ b/dbaccess/source/ui/app/AppDetailView.cxx @@ -79,7 +79,7 @@ OCreationList::OCreationList( OTasksWindow& _rParent ) { sal_uInt16 nSize = SPACEBETWEENENTRIES; SetSpaceBetweenEntries(nSize); - SetSelectionMode( NO_SELECTION ); + SetSelectionMode( SelectionMode::NONE ); SetExtendedWinBits( EWB_NO_AUTO_CURENTRY ); SetNodeDefaultImages( ); EnableEntryMnemonics(); diff --git a/dbaccess/source/ui/app/AppIconControl.cxx b/dbaccess/source/ui/app/AppIconControl.cxx index 078b2245bce3..1298cc987893 100644 --- a/dbaccess/source/ui/app/AppIconControl.cxx +++ b/dbaccess/source/ui/app/AppIconControl.cxx @@ -57,7 +57,7 @@ OApplicationIconControl::OApplicationIconControl(vcl::Window* _pParent) } SetChoiceWithCursor(); - SetSelectionMode(SINGLE_SELECTION); + SetSelectionMode(SelectionMode::Single); } OApplicationIconControl::~OApplicationIconControl() diff --git a/dbaccess/source/ui/dlg/adtabdlg.cxx b/dbaccess/source/ui/dlg/adtabdlg.cxx index 1cb57daca2da..91e96fa15522 100644 --- a/dbaccess/source/ui/dlg/adtabdlg.cxx +++ b/dbaccess/source/ui/dlg/adtabdlg.cxx @@ -344,12 +344,12 @@ OAddTableDlg::OAddTableDlg( vcl::Window* pParent, IAddTableDialogContext& _rCont m_pTableList->EnableInplaceEditing( false ); m_pTableList->SetStyle(m_pTableList->GetStyle() | WB_BORDER | WB_HASLINES |WB_HASBUTTONS | WB_HASBUTTONSATROOT | WB_HASLINESATROOT | WB_SORT | WB_HSCROLL ); m_pTableList->EnableCheckButton( nullptr ); // do not show any buttons - m_pTableList->SetSelectionMode( SINGLE_SELECTION ); + m_pTableList->SetSelectionMode( SelectionMode::Single ); m_pTableList->notifyHiContrastChanged(); m_pTableList->suppressEmptyFolders(); m_pQueryList->EnableInplaceEditing( false ); - m_pQueryList->SetSelectionMode( SINGLE_SELECTION ); + m_pQueryList->SetSelectionMode( SelectionMode::Single ); if ( !m_rContext.allowQueries() ) { diff --git a/dbaccess/source/ui/dlg/indexdialog.cxx b/dbaccess/source/ui/dlg/indexdialog.cxx index 56a63f7977af..5613a5fe9b2e 100644 --- a/dbaccess/source/ui/dlg/indexdialog.cxx +++ b/dbaccess/source/ui/dlg/indexdialog.cxx @@ -211,7 +211,7 @@ namespace dbaui m_pIndexList->SetSelectHdl(LINK(this, DbaIndexDialog, OnIndexSelected)); m_pIndexList->SetEndEditHdl(LINK(this, DbaIndexDialog, OnEntryEdited)); - m_pIndexList->SetSelectionMode(SINGLE_SELECTION); + m_pIndexList->SetSelectionMode(SelectionMode::Single); m_pIndexList->SetHighlightRange(); m_pIndexList->setConnection(m_xConnection); diff --git a/dbaccess/source/ui/dlg/sqlmessage.cxx b/dbaccess/source/ui/dlg/sqlmessage.cxx index 5408b2f12220..4de77cc3e180 100644 --- a/dbaccess/source/ui/dlg/sqlmessage.cxx +++ b/dbaccess/source/ui/dlg/sqlmessage.cxx @@ -314,7 +314,7 @@ OExceptionChainDialog::OExceptionChainDialog(vcl::Window* pParent, const Excepti m_sStatusLabel = ModuleRes( STR_EXCEPTION_STATUS ); m_sErrorCodeLabel = ModuleRes( STR_EXCEPTION_ERRORCODE ); - m_pExceptionList->SetSelectionMode(SINGLE_SELECTION); + m_pExceptionList->SetSelectionMode(SelectionMode::Single); m_pExceptionList->SetDragDropMode(DragDropMode::NONE); m_pExceptionList->EnableInplaceEditing(false); m_pExceptionList->SetStyle(m_pExceptionList->GetStyle() | WB_HASLINES | WB_HASBUTTONS | WB_HASBUTTONSATROOT | WB_HSCROLL); diff --git a/dbaccess/source/ui/dlg/tablespage.cxx b/dbaccess/source/ui/dlg/tablespage.cxx index e8051d859d75..127ea3a42460 100644 --- a/dbaccess/source/ui/dlg/tablespage.cxx +++ b/dbaccess/source/ui/dlg/tablespage.cxx @@ -86,7 +86,7 @@ namespace dbaui m_pTablesList->SetCheckHandler(LINK(this,OGenericAdministrationPage,OnControlModified)); // initialize the TabListBox - m_pTablesList->SetSelectionMode( MULTIPLE_SELECTION ); + m_pTablesList->SetSelectionMode( SelectionMode::Multiple ); m_pTablesList->SetDragDropMode( DragDropMode::NONE ); m_pTablesList->EnableInplaceEditing( false ); m_pTablesList->SetStyle(m_pTablesList->GetStyle() | WB_BORDER | WB_HASLINES | WB_HASLINESATROOT | WB_SORT | WB_HASBUTTONS | WB_HSCROLL |WB_HASBUTTONSATROOT); diff --git a/dbaccess/source/ui/misc/WNameMatch.cxx b/dbaccess/source/ui/misc/WNameMatch.cxx index 68c91aa29aee..e5a5e962313f 100644 --- a/dbaccess/source/ui/misc/WNameMatch.cxx +++ b/dbaccess/source/ui/misc/WNameMatch.cxx @@ -365,7 +365,7 @@ OColumnTreeBox::OColumnTreeBox( vcl::Window* pParent, WinBits nBits ) SetDragDropMode( DragDropMode::NONE ); EnableInplaceEditing( false ); SetStyle(GetStyle() | WB_BORDER | WB_HASBUTTONS | WB_HSCROLL | nBits); - SetSelectionMode( SINGLE_SELECTION ); + SetSelectionMode( SelectionMode::Single ); } VCL_BUILDER_FACTORY(OColumnTreeBox) diff --git a/dbaccess/source/ui/querydesign/TableWindow.cxx b/dbaccess/source/ui/querydesign/TableWindow.cxx index d7dbc5eef76c..10d3fd4e05bc 100644 --- a/dbaccess/source/ui/querydesign/TableWindow.cxx +++ b/dbaccess/source/ui/querydesign/TableWindow.cxx @@ -303,7 +303,7 @@ bool OTableWindow::Init() { m_xListBox = CreateListBox(); OSL_ENSURE( m_xListBox != nullptr, "OTableWindow::Init() : CreateListBox returned NULL !" ); - m_xListBox->SetSelectionMode( MULTIPLE_SELECTION ); + m_xListBox->SetSelectionMode( SelectionMode::Multiple ); } // Set the title diff --git a/dbaccess/source/ui/querydesign/TableWindowListBox.cxx b/dbaccess/source/ui/querydesign/TableWindowListBox.cxx index ab38fcc18069..6e5ba0670e71 100644 --- a/dbaccess/source/ui/querydesign/TableWindowListBox.cxx +++ b/dbaccess/source/ui/querydesign/TableWindowListBox.cxx @@ -51,7 +51,7 @@ OTableWindowListBox::OTableWindowListBox( OTableWindow* pParent ) m_aScrollTimer.SetTimeout( SCROLLING_TIMESPAN ); SetDoubleClickHdl( LINK(this, OTableWindowListBox, OnDoubleClick) ); - SetSelectionMode(SINGLE_SELECTION); + SetSelectionMode(SelectionMode::Single); SetHighlightRange( ); } |