summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-24 11:22:45 +0200
committerNoel Grandin <noel@peralex.com>2014-03-25 14:32:54 +0200
commitb4d4ede795cbdbb813197fcfaac43e80af4ea566 (patch)
tree17bedd4ba0d0d0fd348a03dda2f72cf2c03339d6 /svtools
parentf5864e8ff4958268b50b15bc4c60c3d0fcfe20d9 (diff)
svtools/svtabbax.hxx: sal_Bool->bool
Change-Id: I2441e15d2b32b897561cb404a925390299fea6d8
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/fileview.cxx6
-rw-r--r--svtools/source/contnr/svtabbx.cxx14
2 files changed, 10 insertions, 10 deletions
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index a3d15babaadf..e40faf408db1 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -1053,7 +1053,7 @@ void ViewTabListBox_Impl::DoQuickSearch( const sal_Unicode& rChar )
SvTreeListEntry* pEntry = GetEntry( mnSearchIndex );
if ( pEntry )
{
- SelectAll( sal_False );
+ SelectAll( false );
Select( pEntry );
SetCurEntry( pEntry );
MakeVisible( pEntry );
@@ -1398,7 +1398,7 @@ void SvtFileView::CancelRunningAsyncAction()
void SvtFileView::SetNoSelection()
{
- mpImp->mpView->SelectAll( sal_False );
+ mpImp->mpView->SelectAll( false );
}
@@ -1971,7 +1971,7 @@ void SvtFileView_Impl::SetSelectHandler( const Link& _rHdl )
void SvtFileView_Impl::InitSelection()
{
- mpView->SelectAll( sal_False );
+ mpView->SelectAll( false );
SvTreeListEntry* pFirst = mpView->First();
if ( pFirst )
mpView->SetCursor( pFirst, sal_True );
diff --git a/svtools/source/contnr/svtabbx.cxx b/svtools/source/contnr/svtabbx.cxx
index c2ecf34a12be..7c131d44733d 100644
--- a/svtools/source/contnr/svtabbx.cxx
+++ b/svtools/source/contnr/svtabbx.cxx
@@ -520,7 +520,7 @@ SvHeaderTabListBox::SvHeaderTabListBox( Window* pParent, WinBits nWinStyle ) :
SvTabListBox( pParent, nWinStyle ),
- m_bFirstPaint ( sal_True ),
+ m_bFirstPaint ( true ),
m_pImpl ( new ::svt::SvHeaderTabListBoxImpl ),
m_pAccessible ( NULL )
{
@@ -539,7 +539,7 @@ void SvHeaderTabListBox::Paint( const Rectangle& rRect )
{
if ( m_bFirstPaint )
{
- m_bFirstPaint = sal_False;
+ m_bFirstPaint = false;
RepaintScrollBars();
}
SvTabListBox::Paint( rRect );
@@ -558,7 +558,7 @@ void SvHeaderTabListBox::InitHeaderBar( HeaderBar* pHeaderBar )
-sal_Bool SvHeaderTabListBox::IsItemChecked( SvTreeListEntry* pEntry, sal_uInt16 nCol ) const
+bool SvHeaderTabListBox::IsItemChecked( SvTreeListEntry* pEntry, sal_uInt16 nCol ) const
{
SvButtonState eState = SV_BUTTON_UNCHECKED;
SvLBoxButton* pItem = (SvLBoxButton*)( pEntry->GetItem( nCol + 1 ) );
@@ -684,7 +684,7 @@ void SvHeaderTabListBox::RecalculateAccessibleChildren()
-sal_Bool SvHeaderTabListBox::IsCellCheckBox( long _nRow, sal_uInt16 _nColumn, TriState& _rState )
+bool SvHeaderTabListBox::IsCellCheckBox( long _nRow, sal_uInt16 _nColumn, TriState& _rState )
{
bool bRet = false;
SvTreeListEntry* pEntry = GetEntry( _nRow );
@@ -789,9 +789,9 @@ void SvHeaderTabListBox::SelectAll()
SvTreeListBox::SelectAll(true);
}
-void SvHeaderTabListBox::SelectAll( sal_Bool bSelect, sal_Bool bPaint )
+void SvHeaderTabListBox::SelectAll( bool bSelect, bool bPaint )
{
- // overwritten just to disambiguate the SelectAll() from the base' class SelectAll( BOOl, sal_Bool )
+ // overwritten just to disambiguate the SelectAll() from the base' class SelectAll( bool, bool )
SvTabListBox::SelectAll( bSelect, bPaint );
}
@@ -918,7 +918,7 @@ Reference< XAccessible > SvHeaderTabListBox::CreateAccessibleCell( sal_Int32 _nR
if ( !xChild.is() )
{
TriState eState = TRISTATE_INDET;
- sal_Bool bIsCheckBox = IsCellCheckBox( _nRow, _nColumnPos, eState );
+ bool bIsCheckBox = IsCellCheckBox( _nRow, _nColumnPos, eState );
if ( bIsCheckBox )
xChild = m_pImpl->m_aFactoryAccess.getFactory().createAccessibleCheckBoxCell(
m_pAccessible->getHeaderBar(), *this, NULL, _nRow, _nColumnPos, eState, false );