summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/TableWindowListBox.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/TableWindowListBox.cxx
parent6907b67d3d3208eb54289db2476132188d86dfec (diff)
dbaccess: sal_Bool->bool
Change-Id: Ieb52470f9638b74898954db3890aaf2cf202290a
Diffstat (limited to 'dbaccess/source/ui/querydesign/TableWindowListBox.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/TableWindowListBox.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/dbaccess/source/ui/querydesign/TableWindowListBox.cxx b/dbaccess/source/ui/querydesign/TableWindowListBox.cxx
index edec47ca2245..6421b79c7cf1 100644
--- a/dbaccess/source/ui/querydesign/TableWindowListBox.cxx
+++ b/dbaccess/source/ui/querydesign/TableWindowListBox.cxx
@@ -46,7 +46,7 @@ OTableWindowListBox::OTableWindowListBox( OTableWindow* pParent )
,m_pTabWin( pParent )
,m_nDropEvent(0)
,m_nUiEvent(0)
- ,m_bReallyScrolled( sal_False )
+ ,m_bReallyScrolled( false )
{
m_aScrollTimer.SetTimeout( SCROLLING_TIMESPAN );
SetDoubleClickHdl( LINK(this, OTableWindowListBox, OnDoubleClick) );
@@ -85,7 +85,7 @@ SvTreeListEntry* OTableWindowListBox::GetEntryFromText( const OUString& rEntryTe
OJoinDesignView* pView = m_pTabWin->getDesignView();
OJoinController& rController = pView->getController();
- sal_Bool bCase = sal_False;
+ bool bCase = false;
try
{
Reference<XConnection> xConnection = rController.getConnection();
@@ -113,7 +113,7 @@ SvTreeListEntry* OTableWindowListBox::GetEntryFromText( const OUString& rEntryTe
void OTableWindowListBox::NotifyScrolled()
{
- m_bReallyScrolled = sal_True;
+ m_bReallyScrolled = true;
}
void OTableWindowListBox::NotifyEndScroll()
@@ -124,12 +124,12 @@ void OTableWindowListBox::NotifyEndScroll()
// without INVALIDATE_NOCHILDREN all tables would be redrawn,
// so: flickering
- m_bReallyScrolled = sal_False;
+ m_bReallyScrolled = false;
}
bool OTableWindowListBox::PreNotify(NotifyEvent& rNEvt)
{
- sal_Bool bHandled = sal_False;
+ bool bHandled = false;
switch (rNEvt.GetType())
{
case EVENT_KEYINPUT:
@@ -197,7 +197,7 @@ void OTableWindowListBox::StartDrag( sal_Int8 /*nAction*/, const Point& /*rPosPi
if (!pCont->getDesignView()->getController().isReadOnly() && pCont->getDesignView()->getController().isConnected())
{
// asterisk was not allowed to be copied to selection browsebox
- sal_Bool bFirstNotAllowed = FirstSelected() == First() && m_pTabWin->GetData()->IsShowAll();
+ bool bFirstNotAllowed = FirstSelected() == First() && m_pTabWin->GetData()->IsShowAll();
EndSelection();
// create a description of the source
OJoinExchangeData jxdSource(this);
@@ -317,7 +317,7 @@ sal_Int8 OTableWindowListBox::ExecuteDrop( const ExecuteDropEvent& _rEvt )
void OTableWindowListBox::LoseFocus()
{
if(m_pTabWin)
- m_pTabWin->setActive(sal_False);
+ m_pTabWin->setActive(false);
SvTreeListBox::LoseFocus();
}