summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-05-10 09:38:41 +0000
committerKurt Zenker <kz@openoffice.org>2007-05-10 09:38:41 +0000
commitdc0a1674098823ba3daf3c9c945de853022beb73 (patch)
treedbaee209f19006795a8284f37393c3e842d1d336 /dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
parent7893c8d8ef3ef93d9f3dc8cc6db23c27eeae6c47 (diff)
INTEGRATION: CWS dba23a (1.27.72); FILE MERGED
2007/02/26 10:34:02 fs 1.27.72.1: remove unused code Issue number: #i74776# Submitted by: jnavrati@openoffice.org Reviewed by: frank.schoenheit@sun.com
Diffstat (limited to 'dbaccess/source/ui/querydesign/QueryViewSwitch.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/QueryViewSwitch.cxx36
1 files changed, 2 insertions, 34 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx b/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
index de2ceb4d3f0b..73d817e5ed2d 100644
--- a/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
+++ b/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: QueryViewSwitch.cxx,v $
*
- * $Revision: 1.27 $
+ * $Revision: 1.28 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 07:23:48 $
+ * last change: $Author: kz $ $Date: 2007-05-10 10:38:41 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -148,14 +148,6 @@ void OQueryViewSwitch::clear()
m_pDesignView->clear();
}
// -----------------------------------------------------------------------------
-void OQueryViewSwitch::GetFocus()
-{
- if ( m_pTextView && m_pTextView->IsVisible() )
- m_pTextView->GetFocus();
- else if ( m_pDesignView && m_pDesignView->IsVisible() )
- m_pDesignView->GrabFocus();
-}
-// -----------------------------------------------------------------------------
void OQueryViewSwitch::GrabFocus()
{
if ( m_pTextView && m_pTextView->IsVisible() )
@@ -164,15 +156,6 @@ void OQueryViewSwitch::GrabFocus()
m_pDesignView->GrabFocus();
}
// -----------------------------------------------------------------------------
-Window* OQueryViewSwitch::getActive() const
-{
- Window* pRet = m_pDesignView;
- if ( m_pTextView && m_pTextView->IsVisible() )
- pRet = m_pTextView;
-
- return pRet;
-}
-// -----------------------------------------------------------------------------
void OQueryViewSwitch::setStatement(const ::rtl::OUString& _rsStatement)
{
if(m_pTextView->IsVisible())
@@ -289,11 +272,6 @@ sal_Bool OQueryViewSwitch::switchView()
return bRet;
}
// -----------------------------------------------------------------------------
-void OQueryViewSwitch::clearDesignView()
-{
- m_pDesignView->clear();
-}
-// -----------------------------------------------------------------------------
OAddTableDlg* OQueryViewSwitch::getAddTableDialog()
{
if ( !m_pDesignView )
@@ -303,11 +281,6 @@ OAddTableDlg* OQueryViewSwitch::getAddTableDialog()
return m_pDesignView->getController()->getAddTableDialog();
}
// -----------------------------------------------------------------------------
-BOOL OQueryViewSwitch::IsAddAllowed()
-{
- return m_pDesignView->IsAddAllowed();
-}
-// -----------------------------------------------------------------------------
sal_Bool OQueryViewSwitch::isSlotEnabled(sal_Int32 _nSlotId)
{
return m_pDesignView->isSlotEnabled(_nSlotId);
@@ -318,11 +291,6 @@ void OQueryViewSwitch::setSlotEnabled(sal_Int32 _nSlotId,sal_Bool _bEnable)
m_pDesignView->setSlotEnabled(_nSlotId,_bEnable);
}
// -----------------------------------------------------------------------------
-void OQueryViewSwitch::zoomTableView(const Fraction& _rFraction)
-{
- m_pDesignView->zoomTableView(_rFraction);
-}
-// -----------------------------------------------------------------------------
void OQueryViewSwitch::SaveUIConfig()
{
if(m_pDesignView->IsVisible())