summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-17 11:16:55 +0200
committerNoel Grandin <noel@peralex.com>2014-04-17 11:17:21 +0200
commitfee4efcb54c8162955f6fe626d9b68c3b74b3068 (patch)
treedf8989eab6d8aacb5f37f0673a1a14eb5584a394 /dbaccess/source/ui/querydesign/QueryTabConnUndoAction.cxx
parent6907b67d3d3208eb54289db2476132188d86dfec (diff)
dbaccess: sal_Bool->bool
Change-Id: Ieb52470f9638b74898954db3890aaf2cf202290a
Diffstat (limited to 'dbaccess/source/ui/querydesign/QueryTabConnUndoAction.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/QueryTabConnUndoAction.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.cxx b/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.cxx
index 8e0a95e70d26..16f8e0e4b7cd 100644
--- a/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.cxx
+++ b/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.cxx
@@ -39,7 +39,7 @@ OQueryTabConnUndoAction::~OQueryTabConnUndoAction()
OQueryTabConnUndoAction::OQueryTabConnUndoAction(OQueryTableView* pOwner, sal_uInt16 nCommentID)
:OQueryDesignUndoAction(pOwner, nCommentID)
,m_pConnection(NULL)
- ,m_bOwnerOfConn(sal_False)
+ ,m_bOwnerOfConn(false)
{
}
@@ -51,13 +51,13 @@ OQueryAddTabConnUndoAction::OQueryAddTabConnUndoAction(OQueryTableView* pOwner)
void OQueryAddTabConnUndoAction::Undo()
{
static_cast<OQueryTableView*>(m_pOwner)->DropConnection(m_pConnection);
- SetOwnership(sal_True);
+ SetOwnership(true);
}
void OQueryAddTabConnUndoAction::Redo()
{
static_cast<OQueryTableView*>(m_pOwner)->GetConnection(m_pConnection);
- SetOwnership(sal_False);
+ SetOwnership(false);
}
OQueryDelTabConnUndoAction::OQueryDelTabConnUndoAction(OQueryTableView* pOwner)
@@ -68,13 +68,13 @@ OQueryDelTabConnUndoAction::OQueryDelTabConnUndoAction(OQueryTableView* pOwner)
void OQueryDelTabConnUndoAction::Undo()
{
static_cast<OQueryTableView*>(m_pOwner)->GetConnection(m_pConnection);
- SetOwnership(sal_False);
+ SetOwnership(false);
}
void OQueryDelTabConnUndoAction::Redo()
{
static_cast<OQueryTableView*>(m_pOwner)->DropConnection(m_pConnection);
- SetOwnership(sal_True);
+ SetOwnership(true);
}
OQueryTabWinShowUndoAct::OQueryTabWinShowUndoAct(OQueryTableView* pOwner)
@@ -89,13 +89,13 @@ OQueryTabWinShowUndoAct::~OQueryTabWinShowUndoAct()
void OQueryTabWinShowUndoAct::Undo()
{
static_cast<OQueryTableView*>(m_pOwner)->HideTabWin(m_pTabWin, this);
- SetOwnership(sal_True);
+ SetOwnership(true);
}
void OQueryTabWinShowUndoAct::Redo()
{
- static_cast<OQueryTableView*>(m_pOwner)->ShowTabWin(m_pTabWin, this,sal_True);
- SetOwnership(sal_False);
+ static_cast<OQueryTableView*>(m_pOwner)->ShowTabWin(m_pTabWin, this,true);
+ SetOwnership(false);
}
OQueryTabWinDelUndoAct::OQueryTabWinDelUndoAct(OQueryTableView* pOwner)
@@ -109,14 +109,14 @@ OQueryTabWinDelUndoAct::~OQueryTabWinDelUndoAct()
void OQueryTabWinDelUndoAct::Undo()
{
- static_cast<OQueryTableView*>(m_pOwner)->ShowTabWin( m_pTabWin, this,sal_True );
- SetOwnership(sal_False);
+ static_cast<OQueryTableView*>(m_pOwner)->ShowTabWin( m_pTabWin, this,true );
+ SetOwnership(false);
}
void OQueryTabWinDelUndoAct::Redo()
{
static_cast<OQueryTableView*>(m_pOwner)->HideTabWin( m_pTabWin, this );
- SetOwnership(sal_True);
+ SetOwnership(true);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */