summaryrefslogtreecommitdiff
path: root/svx
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
parente333adb1ff0ffc36a78e50dc4061c1dfb0593d71 (diff)
svx: sal_Bool -> bool
Change-Id: I5b9b730d7060ec146ed0f54c7fe7eb0ca09f7d9c
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/pagectrl.cxx6
-rw-r--r--svx/source/form/formcontrolling.cxx2
-rw-r--r--svx/source/form/tbxform.cxx6
-rw-r--r--svx/source/inc/tbxform.hxx2
4 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/dialog/pagectrl.cxx b/svx/source/dialog/pagectrl.cxx
index 3a1145d31717..dafd7394bc34 100644
--- a/svx/source/dialog/pagectrl.cxx
+++ b/svx/source/dialog/pagectrl.cxx
@@ -46,8 +46,8 @@ SvxPageWindow::SvxPageWindow(Window* pParent)
//UUUU
pBorder(0),
- bResetBackground(sal_False),
- bFrameDirection(sal_False),
+ bResetBackground(false),
+ bFrameDirection(false),
nFrameDirection(0),
nHdLeft(0),
@@ -169,7 +169,7 @@ void SvxPageWindow::DrawPage(const Point& rOrg, const bool bSecond, const bool b
DrawRect(Rectangle(Point(0,0),winSize));
if(bResetBackground)
- bResetBackground = sal_False;
+ bResetBackground = false;
}
SetLineColor(rFieldTextColor);
// Shadow
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 );
}
diff --git a/svx/source/inc/tbxform.hxx b/svx/source/inc/tbxform.hxx
index 8640b7d478cb..adb279fa5c9a 100644
--- a/svx/source/inc/tbxform.hxx
+++ b/svx/source/inc/tbxform.hxx
@@ -38,7 +38,7 @@ public:
virtual void LoseFocus() SAL_OVERRIDE;
protected:
- virtual void FirePosition( sal_Bool _bForce );
+ virtual void FirePosition( bool _bForce );
};