diff options
Diffstat (limited to 'dbaccess/source/ui/misc/WTypeSelect.cxx')
-rw-r--r-- | dbaccess/source/ui/misc/WTypeSelect.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/misc/WTypeSelect.cxx b/dbaccess/source/ui/misc/WTypeSelect.cxx index 091753f742b5..fd0a940de182 100644 --- a/dbaccess/source/ui/misc/WTypeSelect.cxx +++ b/dbaccess/source/ui/misc/WTypeSelect.cxx @@ -286,7 +286,7 @@ IMPL_LINK_NOARG( OWizTypeSelect, ColumnSelectHdl, ListBox&, void ) if(pField) m_pTypeControl->DisplayData(pField); - m_pTypeControl->Enable(m_pColumnNames->GetSelectEntryCount() == 1 ); + m_pTypeControl->Enable(m_pColumnNames->GetSelectedEntryCount() == 1 ); } void OWizTypeSelect::Reset() @@ -376,7 +376,7 @@ void OWizTypeSelectList::dispose() bool OWizTypeSelectList::IsPrimaryKeyAllowed() const { - const sal_Int32 nCount = GetSelectEntryCount(); + const sal_Int32 nCount = GetSelectedEntryCount(); for( sal_Int32 j = 0; m_bPKey && j < nCount; ++j ) { |