summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/querydesign/QueryTabConnUndoAction.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/QueryTabConnUndoAction.cxx92
1 files changed, 46 insertions, 46 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.cxx b/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.cxx
index 93775a1be43e..7e11cddc796a 100644
--- a/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.cxx
+++ b/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -44,7 +44,7 @@ OQueryTabConnUndoAction::~OQueryTabConnUndoAction()
{
DBG_DTOR(OQueryTabConnUndoAction,NULL);
if (m_bOwnerOfConn)
- { // ich besitze die Connection -> loeschen
+ { // ich besitze die Connection -> loeschen
m_pOwner->DeselectConn(m_pConnection);
delete m_pConnection;
}
@@ -59,80 +59,80 @@ OQueryTabConnUndoAction::OQueryTabConnUndoAction(OQueryTableView* pOwner, USHORT
DBG_CTOR(OQueryTabConnUndoAction,NULL);
}
// -----------------------------------------------------------------------------
-OQueryAddTabConnUndoAction::OQueryAddTabConnUndoAction(OQueryTableView* pOwner)
- : OQueryTabConnUndoAction(pOwner, STR_QUERY_UNDO_INSERTCONNECTION)
-{
+OQueryAddTabConnUndoAction::OQueryAddTabConnUndoAction(OQueryTableView* pOwner)
+ : OQueryTabConnUndoAction(pOwner, STR_QUERY_UNDO_INSERTCONNECTION)
+{
}
// -----------------------------------------------------------------------------
-void OQueryAddTabConnUndoAction::Undo()
-{
- static_cast<OQueryTableView*>(m_pOwner)->DropConnection(m_pConnection);
- SetOwnership(TRUE);
+void OQueryAddTabConnUndoAction::Undo()
+{
+ static_cast<OQueryTableView*>(m_pOwner)->DropConnection(m_pConnection);
+ SetOwnership(TRUE);
}
// -----------------------------------------------------------------------------
-void OQueryAddTabConnUndoAction::Redo()
-{
- static_cast<OQueryTableView*>(m_pOwner)->GetConnection(m_pConnection);
- SetOwnership(FALSE);
+void OQueryAddTabConnUndoAction::Redo()
+{
+ static_cast<OQueryTableView*>(m_pOwner)->GetConnection(m_pConnection);
+ SetOwnership(FALSE);
}
// -----------------------------------------------------------------------------
-OQueryDelTabConnUndoAction::OQueryDelTabConnUndoAction(OQueryTableView* pOwner)
- : OQueryTabConnUndoAction(pOwner, STR_QUERY_UNDO_REMOVECONNECTION)
-{
+OQueryDelTabConnUndoAction::OQueryDelTabConnUndoAction(OQueryTableView* pOwner)
+ : OQueryTabConnUndoAction(pOwner, STR_QUERY_UNDO_REMOVECONNECTION)
+{
}
// -----------------------------------------------------------------------------
-void OQueryDelTabConnUndoAction::Undo()
-{
- static_cast<OQueryTableView*>(m_pOwner)->GetConnection(m_pConnection);
- SetOwnership(FALSE);
+void OQueryDelTabConnUndoAction::Undo()
+{
+ static_cast<OQueryTableView*>(m_pOwner)->GetConnection(m_pConnection);
+ SetOwnership(FALSE);
}
// -----------------------------------------------------------------------------
-void OQueryDelTabConnUndoAction::Redo()
-{
- static_cast<OQueryTableView*>(m_pOwner)->DropConnection(m_pConnection);
- SetOwnership(TRUE);
+void OQueryDelTabConnUndoAction::Redo()
+{
+ static_cast<OQueryTableView*>(m_pOwner)->DropConnection(m_pConnection);
+ SetOwnership(TRUE);
}
// -----------------------------------------------------------------------------
-OQueryTabWinShowUndoAct::OQueryTabWinShowUndoAct(OQueryTableView* pOwner)
- : OQueryTabWinUndoAct(pOwner, STR_QUERY_UNDO_TABWINSHOW)
-{
+OQueryTabWinShowUndoAct::OQueryTabWinShowUndoAct(OQueryTableView* pOwner)
+ : OQueryTabWinUndoAct(pOwner, STR_QUERY_UNDO_TABWINSHOW)
+{
}
// -----------------------------------------------------------------------------
OQueryTabWinShowUndoAct::~OQueryTabWinShowUndoAct()
{
}
// -----------------------------------------------------------------------------
-void OQueryTabWinShowUndoAct::Undo()
-{
- static_cast<OQueryTableView*>(m_pOwner)->HideTabWin(m_pTabWin, this);
- SetOwnership(TRUE);
+void OQueryTabWinShowUndoAct::Undo()
+{
+ static_cast<OQueryTableView*>(m_pOwner)->HideTabWin(m_pTabWin, this);
+ SetOwnership(TRUE);
}
// -----------------------------------------------------------------------------
-void OQueryTabWinShowUndoAct::Redo()
-{
- static_cast<OQueryTableView*>(m_pOwner)->ShowTabWin(m_pTabWin, this,sal_True);
- SetOwnership(FALSE);
+void OQueryTabWinShowUndoAct::Redo()
+{
+ static_cast<OQueryTableView*>(m_pOwner)->ShowTabWin(m_pTabWin, this,sal_True);
+ SetOwnership(FALSE);
}
// -----------------------------------------------------------------------------
-OQueryTabWinDelUndoAct::OQueryTabWinDelUndoAct(OQueryTableView* pOwner)
- : OQueryTabWinUndoAct(pOwner, STR_QUERY_UNDO_TABWINDELETE)
-{
+OQueryTabWinDelUndoAct::OQueryTabWinDelUndoAct(OQueryTableView* pOwner)
+ : OQueryTabWinUndoAct(pOwner, STR_QUERY_UNDO_TABWINDELETE)
+{
}
// -----------------------------------------------------------------------------
OQueryTabWinDelUndoAct::~OQueryTabWinDelUndoAct()
{
}
// -----------------------------------------------------------------------------
-void OQueryTabWinDelUndoAct::Undo()
-{
- static_cast<OQueryTableView*>(m_pOwner)->ShowTabWin( m_pTabWin, this,sal_True );
- SetOwnership(FALSE);
+void OQueryTabWinDelUndoAct::Undo()
+{
+ static_cast<OQueryTableView*>(m_pOwner)->ShowTabWin( m_pTabWin, this,sal_True );
+ SetOwnership(FALSE);
}
// -----------------------------------------------------------------------------
-void OQueryTabWinDelUndoAct::Redo()
-{
- static_cast<OQueryTableView*>(m_pOwner)->HideTabWin( m_pTabWin, this );
- SetOwnership(TRUE);
+void OQueryTabWinDelUndoAct::Redo()
+{
+ static_cast<OQueryTableView*>(m_pOwner)->HideTabWin( m_pTabWin, this );
+ SetOwnership(TRUE);
}
// -----------------------------------------------------------------------------