Kaydet (Commit) d0d2bd09 authored tarafından Kurt Zenker's avatar Kurt Zenker

INTEGRATION: CWS dba30d (1.22.30); FILE MERGED

2008/06/01 20:57:07 fs 1.22.30.1: minor re-factoring during #i80943#
üst 78db9cd9
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite * OpenOffice.org - a multi-platform office productivity suite
* *
* $RCSfile: dbtreeview.cxx,v $ * $RCSfile: dbtreeview.cxx,v $
* $Revision: 1.22 $ * $Revision: 1.23 $
* *
* This file is part of OpenOffice.org. * This file is part of OpenOffice.org.
* *
...@@ -106,19 +106,13 @@ void DBTreeView::Resize() ...@@ -106,19 +106,13 @@ void DBTreeView::Resize()
m_pTreeListBox->SetPosSizePixel(Point(0,0),GetOutputSizePixel()); m_pTreeListBox->SetPosSizePixel(Point(0,0),GetOutputSizePixel());
} }
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
void DBTreeView::setModel(DBTreeListModel* _pTreeModel) void DBTreeView::setModel(SvLBoxTreeList* _pTreeModel)
{ {
if (_pTreeModel) if (_pTreeModel)
_pTreeModel->InsertView(m_pTreeListBox); _pTreeModel->InsertView(m_pTreeListBox);
m_pTreeListBox->SetModel(_pTreeModel); m_pTreeListBox->SetModel(_pTreeModel);
} }
// -------------------------------------------------------------------------
DBTreeListBox* DBTreeView::getListBox() const
{
return m_pTreeListBox;
}
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
void DBTreeView::setSelectHdl(const Link& _rHdl) void DBTreeView::setSelectHdl(const Link& _rHdl)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment