summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/browser/dsEntriesNoExp.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-08-02 14:33:47 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-08-02 14:33:47 +0000
commit7dc3f8e5c16f0dcc5b8fde8cea458011be3be42c (patch)
treeb04c03ad8615c274cd7161804a08f1e3d444ca34 /dbaccess/source/ui/browser/dsEntriesNoExp.cxx
parentINTEGRATION: CWS insight01 (1.17.112); FILE MERGED (diff)
downloadcore-7dc3f8e5c16f0dcc5b8fde8cea458011be3be42c.tar.gz
core-7dc3f8e5c16f0dcc5b8fde8cea458011be3be42c.zip
INTEGRATION: CWS insight01 (1.7.108); FILE MERGED
2004/04/27 07:13:35 oj 1.7.108.2: remove unused code 2003/11/26 12:23:09 oj 1.7.108.1: #111075# ongoing work
Diffstat (limited to 'dbaccess/source/ui/browser/dsEntriesNoExp.cxx')
-rw-r--r--dbaccess/source/ui/browser/dsEntriesNoExp.cxx16
1 files changed, 3 insertions, 13 deletions
diff --git a/dbaccess/source/ui/browser/dsEntriesNoExp.cxx b/dbaccess/source/ui/browser/dsEntriesNoExp.cxx
index b6ebb2df2bd2..25905ac7e83f 100644
--- a/dbaccess/source/ui/browser/dsEntriesNoExp.cxx
+++ b/dbaccess/source/ui/browser/dsEntriesNoExp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dsEntriesNoExp.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: oj $ $Date: 2002-08-19 07:32:51 $
+ * last change: $Author: hr $ $Date: 2004-08-02 15:33:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -101,8 +101,6 @@ SbaTableQueryBrowser::EntryType SbaTableQueryBrowser::getChildType( SvLBoxEntry*
return etTable;
case etQueryContainer:
return etQuery;
- case etBookmarkContainer:
- return etBookmark;
}
return etUnknown;
}
@@ -123,13 +121,11 @@ SbaTableQueryBrowser::EntryType SbaTableQueryBrowser::getEntryType( SvLBoxEntry*
SvLBoxEntry* pEntryParent = m_pTreeView->getListBox()->GetParent(_pEntry);
SvLBoxEntry* pTables = m_pTreeView->getListBox()->GetEntry(pRootEntry, CONTAINER_TABLES);
SvLBoxEntry* pQueries = m_pTreeView->getListBox()->GetEntry(pRootEntry, CONTAINER_QUERIES);
- SvLBoxEntry* pBookmarks = m_pTreeView->getListBox()->GetEntry(pRootEntry, CONTAINER_BOOKMARKS);
#ifdef DBG_UTIL
String sTest;
if (pTables) sTest = m_pTreeView->getListBox()->GetEntryText(pTables);
if (pQueries) sTest = m_pTreeView->getListBox()->GetEntryText(pQueries);
- if (pBookmarks) sTest = m_pTreeView->getListBox()->GetEntryText(pBookmarks);
#endif
if (pRootEntry == _pEntry)
@@ -141,18 +137,12 @@ SbaTableQueryBrowser::EntryType SbaTableQueryBrowser::getEntryType( SvLBoxEntry*
if (pQueries == _pEntry)
return etQueryContainer;
- if (pBookmarks == _pEntry)
- return etBookmarkContainer;
-
if (pTables == pEntryParent)
return etTable;
if (pQueries == pEntryParent)
return etQuery;
- if (pBookmarks == pEntryParent)
- return etBookmark;
-
return etUnknown;
}
//------------------------------------------------------------------------------
@@ -215,7 +205,7 @@ String SbaTableQueryBrowser::getURL() const
//------------------------------------------------------------------------------
ToolBox* SbaTableQueryBrowser::CreateToolBox(Window* _pParent)
{
- return new ToolBox( _pParent, ModuleRes( RID_BRW_QRY_TOOLBOX ) );
+ return m_bShowToolbox ? new ToolBox( _pParent, ModuleRes( RID_BRW_QRY_TOOLBOX ) ) : NULL;
}
// -----------------------------------------------------------------------------
void SbaTableQueryBrowser::notifyHiContrastChanged()