diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-10-18 16:28:20 +0200 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-10-19 11:45:36 +0200 |
commit | 4b313fd5661ca5ac096e60d46691b1a9857877d9 (patch) | |
tree | 59ba989a24fe1d21562f9a3c8a465b124028c62a /dbaccess/source/ui/dlg/adtabdlg.cxx | |
parent | d47508e036fd30f410798f37d25039bb25528f60 (diff) |
Merge SvListEntry and SvLBoxEntry into SvTreeListEntry.
Change-Id: I89cfc8c1288c00674fe64e791c149743d377d5ee
Diffstat (limited to 'dbaccess/source/ui/dlg/adtabdlg.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/adtabdlg.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dbaccess/source/ui/dlg/adtabdlg.cxx b/dbaccess/source/ui/dlg/adtabdlg.cxx index 580791a345a0..55fbf4b1dfff 100644 --- a/dbaccess/source/ui/dlg/adtabdlg.cxx +++ b/dbaccess/source/ui/dlg/adtabdlg.cxx @@ -96,15 +96,15 @@ TableListFacade::~TableListFacade() String TableListFacade::getSelectedName( String& _out_rAliasName ) const { - SvLBoxEntry* pEntry = m_rTableList.FirstSelected(); + SvTreeListEntry* pEntry = m_rTableList.FirstSelected(); if ( !pEntry ) return String(); ::rtl::OUString aCatalog, aSchema, aTableName; - SvLBoxEntry* pSchema = m_rTableList.GetParent(pEntry); + SvTreeListEntry* pSchema = m_rTableList.GetParent(pEntry); if(pSchema && pSchema != m_rTableList.getAllObjectsEntry()) { - SvLBoxEntry* pCatalog = m_rTableList.GetParent(pSchema); + SvTreeListEntry* pCatalog = m_rTableList.GetParent(pSchema); if(pCatalog && pCatalog != m_rTableList.getAllObjectsEntry()) aCatalog = m_rTableList.GetEntryText(pCatalog); aSchema = m_rTableList.GetEntryText(pSchema); @@ -200,7 +200,7 @@ void TableListFacade::updateTableObjectList( bool _bAllowViews ) } m_rTableList.UpdateTableList( m_xConnection, sTables, sViews ); - SvLBoxEntry* pEntry = m_rTableList.First(); + SvTreeListEntry* pEntry = m_rTableList.First(); while( pEntry && m_rTableList.GetModel()->HasChildren( pEntry ) ) { m_rTableList.Expand( pEntry ); @@ -217,7 +217,7 @@ void TableListFacade::updateTableObjectList( bool _bAllowViews ) bool TableListFacade::isLeafSelected() const { - SvLBoxEntry* pEntry = m_rTableList.FirstSelected(); + SvTreeListEntry* pEntry = m_rTableList.FirstSelected(); return pEntry && !m_rTableList.GetModel()->HasChildren( pEntry ); } @@ -306,7 +306,7 @@ void QueryListFacade::updateTableObjectList( bool /*_bAllowViews*/ ) String QueryListFacade::getSelectedName( String& _out_rAliasName ) const { String sSelected; - SvLBoxEntry* pEntry = m_rQueryList.FirstSelected(); + SvTreeListEntry* pEntry = m_rQueryList.FirstSelected(); if ( pEntry ) sSelected = _out_rAliasName = m_rQueryList.GetEntryText( pEntry ); return sSelected; @@ -314,7 +314,7 @@ String QueryListFacade::getSelectedName( String& _out_rAliasName ) const bool QueryListFacade::isLeafSelected() const { - SvLBoxEntry* pEntry = m_rQueryList.FirstSelected(); + SvTreeListEntry* pEntry = m_rQueryList.FirstSelected(); return pEntry && !m_rQueryList.GetModel()->HasChildren( pEntry ); } |