summaryrefslogtreecommitdiffstats
path: root/forms/source/solar/component/navbarcontrol.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-06 12:37:38 +0200
committerNoel Grandin <noel@peralex.com>2014-05-06 12:38:16 +0200
commitc0d037a6ecbd4389abe3ca9e958d8a4ac9e0287e (patch)
tree617f52ca3be4d2c2f6b5b21fc4ed9a3a8dd1fe77 /forms/source/solar/component/navbarcontrol.cxx
parentImplSVEvent::mnEvent is always zero (diff)
downloadcore-c0d037a6ecbd4389abe3ca9e958d8a4ac9e0287e.tar.gz
core-c0d037a6ecbd4389abe3ca9e958d8a4ac9e0287e.zip
forms: sal_Bool->bool
Change-Id: Ifa15f4ed3107b1075b504f09d2cae69ee38d347a
Diffstat (limited to 'forms/source/solar/component/navbarcontrol.cxx')
-rw-r--r--forms/source/solar/component/navbarcontrol.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/forms/source/solar/component/navbarcontrol.cxx b/forms/source/solar/component/navbarcontrol.cxx
index d9816e8a0b7e..743dfdcde2e7 100644
--- a/forms/source/solar/component/navbarcontrol.cxx
+++ b/forms/source/solar/component/navbarcontrol.cxx
@@ -110,7 +110,7 @@ namespace frm
if ( nBorder )
nBits |= WB_BORDER;
- sal_Bool bTabStop = sal_False;
+ bool bTabStop = false;
if ( xProps->getPropertyValue( PROPERTY_TABSTOP ) >>= bTabStop )
nBits |= ( bTabStop ? WB_TABSTOP : WB_NOTABSTOP );
}
@@ -305,7 +305,7 @@ namespace frm
bool bVoid = !_rValue.hasValue();
- sal_Bool bBoolValue = sal_False;
+ bool bBoolValue = false;
sal_Int32 nColor = COL_TRANSPARENT;
// TODO: more generic mechanisms for this (the grid control implementation,
@@ -395,19 +395,19 @@ namespace frm
}
else if ( _rPropertyName.equals( PROPERTY_SHOW_POSITION ) )
{
- aReturn <<= (sal_Bool)( pNavBar->IsFunctionGroupVisible( NavigationToolBar::ePosition ) );
+ aReturn <<= pNavBar->IsFunctionGroupVisible( NavigationToolBar::ePosition );
}
else if ( _rPropertyName.equals( PROPERTY_SHOW_NAVIGATION ) )
{
- aReturn <<= (sal_Bool)( pNavBar->IsFunctionGroupVisible( NavigationToolBar::eNavigation ) );
+ aReturn <<= pNavBar->IsFunctionGroupVisible( NavigationToolBar::eNavigation );
}
else if ( _rPropertyName.equals( PROPERTY_SHOW_RECORDACTIONS ) )
{
- aReturn <<= (sal_Bool)( pNavBar->IsFunctionGroupVisible( NavigationToolBar::eRecordActions ) );
+ aReturn <<= pNavBar->IsFunctionGroupVisible( NavigationToolBar::eRecordActions );
}
else if ( _rPropertyName.equals( PROPERTY_SHOW_FILTERSORT ) )
{
- aReturn <<= (sal_Bool)( pNavBar->IsFunctionGroupVisible( NavigationToolBar::eFilterSort ) );
+ aReturn <<= pNavBar->IsFunctionGroupVisible( NavigationToolBar::eFilterSort );
}
else
aReturn = VCLXWindow::getProperty( _rPropertyName );