summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-10-15 16:21:55 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-10-19 11:45:36 +0200
commit293fd587f4836bd3358abb77ec06066f92fe18cc (patch)
tree7ba994d5aba32c765c6a2422a9d56c9a808af178
parent78417304160a72d7ba10d14e21c31faa0bf4e966 (diff)
Remove direct reference to SvTreeList outside svtools.
Change-Id: Ia8055a1bf21531aeb808d797b2a73a08a897e79c
-rw-r--r--cui/source/options/dbregister.cxx2
-rw-r--r--cui/source/options/treeopt.cxx2
-rw-r--r--cui/source/options/webconninfo.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/TableWindowListBox.cxx6
-rw-r--r--sw/source/ui/utlui/glbltree.cxx2
5 files changed, 7 insertions, 7 deletions
diff --git a/cui/source/options/dbregister.cxx b/cui/source/options/dbregister.cxx
index 8a619ffccc19..7d1ef86a0a50 100644
--- a/cui/source/options/dbregister.cxx
+++ b/cui/source/options/dbregister.cxx
@@ -336,7 +336,7 @@ IMPL_LINK( DbRegistrationOptionsPage, HeaderSelect_Impl, HeaderBar*, pBar )
nBits |= HIB_UPARROW;
}
pHeaderBar->SetItemBits( ITEMID_TYPE, nBits );
- SvTreeList* pModel = pPathBox->GetModel();
+ SvLBoxTreeList* pModel = pPathBox->GetModel();
pModel->SetSortMode( eMode );
pModel->Resort();
return 1;
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index 3f57e56300c9..760285326e47 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -1838,7 +1838,7 @@ void OfaTreeOptionsDialog::ResizeTreeLB( void )
const long nIndent0 = PixelToLogic( Size( 28, 0 ) ).Width();
const long nIndent1 = PixelToLogic( Size( 52, 0 ) ).Width();
- SvTreeList* pTreeList = aTreeLB.GetModel();
+ SvLBoxTreeList* pTreeList = aTreeLB.GetModel();
DBG_ASSERT( pTreeList, "-OfaTreeOptionsDialog::ResizeTreeLB(): no model, no cookies!" );
SvListEntry* pEntry = pTreeList->First();
diff --git a/cui/source/options/webconninfo.cxx b/cui/source/options/webconninfo.cxx
index 97a2f0acc961..133932276dee 100644
--- a/cui/source/options/webconninfo.cxx
+++ b/cui/source/options/webconninfo.cxx
@@ -74,7 +74,7 @@ void PasswordTable::Resort( bool bForced )
nBits |= HIB_UPARROW;
}
GetTheHeaderBar().SetItemBits( 1, nBits );
- SvTreeList* pListModel = GetModel();
+ SvLBoxTreeList* pListModel = GetModel();
pListModel->SetSortMode( eMode );
pListModel->Resort();
}
diff --git a/dbaccess/source/ui/querydesign/TableWindowListBox.cxx b/dbaccess/source/ui/querydesign/TableWindowListBox.cxx
index 87ca37dbba6b..227727bf0020 100644
--- a/dbaccess/source/ui/querydesign/TableWindowListBox.cxx
+++ b/dbaccess/source/ui/querydesign/TableWindowListBox.cxx
@@ -90,8 +90,8 @@ SvLBoxEntry* OTableWindowListBox::GetEntryFromText( const String& rEntryText )
{
//////////////////////////////////////////////////////////////////////
// Liste durchiterieren
- SvTreeList* pTreeList = GetModel();
- SvLBoxEntry* pEntry = (SvLBoxEntry*)pTreeList->First();
+ SvLBoxTreeList* pTreeList = GetModel();
+ SvLBoxEntry* pEntry = pTreeList->First();
OJoinDesignView* pView = m_pTabWin->getDesignView();
OJoinController& rController = pView->getController();
@@ -111,7 +111,7 @@ SvLBoxEntry* OTableWindowListBox::GetEntryFromText( const String& rEntryText )
{
return pEntry;
}
- pEntry = (SvLBoxEntry*)pTreeList->Next( pEntry );
+ pEntry = pTreeList->Next(pEntry);
}
}
catch(SQLException&)
diff --git a/sw/source/ui/utlui/glbltree.cxx b/sw/source/ui/utlui/glbltree.cxx
index f3d2929c7597..f3ce370b6301 100644
--- a/sw/source/ui/utlui/glbltree.cxx
+++ b/sw/source/ui/utlui/glbltree.cxx
@@ -550,7 +550,7 @@ sal_Bool SwGlobalTree::NotifyMoving( SvLBoxEntry* pTarget,
sal_uLong&
)
{
- SvTreeList* _pModel = GetModel();
+ SvLBoxTreeList* _pModel = GetModel();
sal_uInt16 nSource = (sal_uInt16) _pModel->GetAbsPos(pSource);
sal_uInt16 nDest = pTarget ? (sal_uInt16) _pModel->GetAbsPos(pTarget) : pSwGlblDocContents->size();