summaryrefslogtreecommitdiff
path: root/svx/source/form
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-12 14:46:39 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-12 14:46:55 +0200
commit03d92f1ca38aa3873158ddec86ad8beebaf928bb (patch)
treebc5539dfeaf633e0a444cdaef143baab0b6f375b /svx/source/form
parente333adb1ff0ffc36a78e50dc4061c1dfb0593d71 (diff)
svx: sal_Bool -> bool
Change-Id: I5b9b730d7060ec146ed0f54c7fe7eb0ca09f7d9c
Diffstat (limited to 'svx/source/form')
-rw-r--r--svx/source/form/formcontrolling.cxx2
-rw-r--r--svx/source/form/tbxform.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/form/formcontrolling.cxx b/svx/source/form/formcontrolling.cxx
index dfa6e9177bcb..893c7f6abd17 100644
--- a/svx/source/form/formcontrolling.cxx
+++ b/svx/source/form/formcontrolling.cxx
@@ -341,7 +341,7 @@ namespace svx
case COMMIT_RECORD:
{
- sal_Bool bDummy( sal_False );
+ sal_Bool bDummy( false );
bSuccess = m_xFormOperations->commitCurrentRecord( bDummy );
}
break;
diff --git a/svx/source/form/tbxform.cxx b/svx/source/form/tbxform.cxx
index f519dd462b19..6e202f7e9fc0 100644
--- a/svx/source/form/tbxform.cxx
+++ b/svx/source/form/tbxform.cxx
@@ -64,7 +64,7 @@ SvxFmAbsRecWin::~SvxFmAbsRecWin()
}
-void SvxFmAbsRecWin::FirePosition( sal_Bool _bForce )
+void SvxFmAbsRecWin::FirePosition( bool _bForce )
{
if ( _bForce || IsValueChangedFromSaved() )
{
@@ -92,14 +92,14 @@ void SvxFmAbsRecWin::FirePosition( sal_Bool _bForce )
void SvxFmAbsRecWin::LoseFocus()
{
- FirePosition( sal_False );
+ FirePosition( false );
}
void SvxFmAbsRecWin::KeyInput( const KeyEvent& rKeyEvent )
{
if( rKeyEvent.GetKeyCode() == KEY_RETURN && !GetText().isEmpty() )
- FirePosition( sal_True );
+ FirePosition( true );
else
NumericField::KeyInput( rKeyEvent );
}