Remove direct reference to SvTreeList outside svtools.
Change-Id: Ia8055a1bf21531aeb808d797b2a73a08a897e79c
This commit is contained in:
@@ -336,7 +336,7 @@ IMPL_LINK( DbRegistrationOptionsPage, HeaderSelect_Impl, HeaderBar*, pBar )
|
|||||||
nBits |= HIB_UPARROW;
|
nBits |= HIB_UPARROW;
|
||||||
}
|
}
|
||||||
pHeaderBar->SetItemBits( ITEMID_TYPE, nBits );
|
pHeaderBar->SetItemBits( ITEMID_TYPE, nBits );
|
||||||
SvTreeList* pModel = pPathBox->GetModel();
|
SvLBoxTreeList* pModel = pPathBox->GetModel();
|
||||||
pModel->SetSortMode( eMode );
|
pModel->SetSortMode( eMode );
|
||||||
pModel->Resort();
|
pModel->Resort();
|
||||||
return 1;
|
return 1;
|
||||||
|
@@ -1838,7 +1838,7 @@ void OfaTreeOptionsDialog::ResizeTreeLB( void )
|
|||||||
const long nIndent0 = PixelToLogic( Size( 28, 0 ) ).Width();
|
const long nIndent0 = PixelToLogic( Size( 28, 0 ) ).Width();
|
||||||
const long nIndent1 = PixelToLogic( Size( 52, 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!" );
|
DBG_ASSERT( pTreeList, "-OfaTreeOptionsDialog::ResizeTreeLB(): no model, no cookies!" );
|
||||||
|
|
||||||
SvListEntry* pEntry = pTreeList->First();
|
SvListEntry* pEntry = pTreeList->First();
|
||||||
|
@@ -74,7 +74,7 @@ void PasswordTable::Resort( bool bForced )
|
|||||||
nBits |= HIB_UPARROW;
|
nBits |= HIB_UPARROW;
|
||||||
}
|
}
|
||||||
GetTheHeaderBar().SetItemBits( 1, nBits );
|
GetTheHeaderBar().SetItemBits( 1, nBits );
|
||||||
SvTreeList* pListModel = GetModel();
|
SvLBoxTreeList* pListModel = GetModel();
|
||||||
pListModel->SetSortMode( eMode );
|
pListModel->SetSortMode( eMode );
|
||||||
pListModel->Resort();
|
pListModel->Resort();
|
||||||
}
|
}
|
||||||
|
@@ -90,8 +90,8 @@ SvLBoxEntry* OTableWindowListBox::GetEntryFromText( const String& rEntryText )
|
|||||||
{
|
{
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
// Liste durchiterieren
|
// Liste durchiterieren
|
||||||
SvTreeList* pTreeList = GetModel();
|
SvLBoxTreeList* pTreeList = GetModel();
|
||||||
SvLBoxEntry* pEntry = (SvLBoxEntry*)pTreeList->First();
|
SvLBoxEntry* pEntry = pTreeList->First();
|
||||||
OJoinDesignView* pView = m_pTabWin->getDesignView();
|
OJoinDesignView* pView = m_pTabWin->getDesignView();
|
||||||
OJoinController& rController = pView->getController();
|
OJoinController& rController = pView->getController();
|
||||||
|
|
||||||
@@ -111,7 +111,7 @@ SvLBoxEntry* OTableWindowListBox::GetEntryFromText( const String& rEntryText )
|
|||||||
{
|
{
|
||||||
return pEntry;
|
return pEntry;
|
||||||
}
|
}
|
||||||
pEntry = (SvLBoxEntry*)pTreeList->Next( pEntry );
|
pEntry = pTreeList->Next(pEntry);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch(SQLException&)
|
catch(SQLException&)
|
||||||
|
@@ -550,7 +550,7 @@ sal_Bool SwGlobalTree::NotifyMoving( SvLBoxEntry* pTarget,
|
|||||||
sal_uLong&
|
sal_uLong&
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
SvTreeList* _pModel = GetModel();
|
SvLBoxTreeList* _pModel = GetModel();
|
||||||
sal_uInt16 nSource = (sal_uInt16) _pModel->GetAbsPos(pSource);
|
sal_uInt16 nSource = (sal_uInt16) _pModel->GetAbsPos(pSource);
|
||||||
sal_uInt16 nDest = pTarget ? (sal_uInt16) _pModel->GetAbsPos(pTarget) : pSwGlblDocContents->size();
|
sal_uInt16 nDest = pTarget ? (sal_uInt16) _pModel->GetAbsPos(pTarget) : pSwGlblDocContents->size();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user