summaryrefslogtreecommitdiffstats
path: root/forms/source/solar
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
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')
-rw-r--r--forms/source/solar/component/navbarcontrol.cxx12
-rw-r--r--forms/source/solar/control/navtoolbar.cxx6
-rw-r--r--forms/source/solar/inc/navtoolbar.hxx2
3 files changed, 10 insertions, 10 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 );
diff --git a/forms/source/solar/control/navtoolbar.cxx b/forms/source/solar/control/navtoolbar.cxx
index c1ad14096799..1ae0c983d2ee 100644
--- a/forms/source/solar/control/navtoolbar.cxx
+++ b/forms/source/solar/control/navtoolbar.cxx
@@ -679,7 +679,7 @@ namespace frm
}
- void RecordPositionInput::FirePosition( sal_Bool _bForce )
+ void RecordPositionInput::FirePosition( bool _bForce )
{
if ( _bForce || (GetText() != GetSavedValue()) )
{
@@ -697,14 +697,14 @@ namespace frm
void RecordPositionInput::LoseFocus()
{
- FirePosition( sal_False );
+ FirePosition( false );
}
void RecordPositionInput::KeyInput( const KeyEvent& rKeyEvent )
{
if( rKeyEvent.GetKeyCode() == KEY_RETURN && !GetText().isEmpty() )
- FirePosition( sal_True );
+ FirePosition( true );
else
NumericField::KeyInput( rKeyEvent );
}
diff --git a/forms/source/solar/inc/navtoolbar.hxx b/forms/source/solar/inc/navtoolbar.hxx
index 09fa2b6a6adc..0ab9a544e71f 100644
--- a/forms/source/solar/inc/navtoolbar.hxx
+++ b/forms/source/solar/inc/navtoolbar.hxx
@@ -176,7 +176,7 @@ namespace frm
virtual void KeyInput( const KeyEvent& rKeyEvent ) SAL_OVERRIDE;
private:
- void FirePosition( sal_Bool _bForce );
+ void FirePosition( bool _bForce );
};