Kaydet (Commit) 03d92f1c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

svx: sal_Bool -> bool

Change-Id: I5b9b730d7060ec146ed0f54c7fe7eb0ca09f7d9c
üst e333adb1
...@@ -41,8 +41,8 @@ private: ...@@ -41,8 +41,8 @@ private:
long nRight; long nRight;
SvxBoxItem* pBorder; SvxBoxItem* pBorder;
sal_Bool bResetBackground; bool bResetBackground;
sal_Bool bFrameDirection; bool bFrameDirection;
sal_Int32 nFrameDirection; sal_Int32 nFrameDirection;
long nHdLeft; long nHdLeft;
......
...@@ -46,8 +46,8 @@ SvxPageWindow::SvxPageWindow(Window* pParent) ...@@ -46,8 +46,8 @@ SvxPageWindow::SvxPageWindow(Window* pParent)
//UUUU //UUUU
pBorder(0), pBorder(0),
bResetBackground(sal_False), bResetBackground(false),
bFrameDirection(sal_False), bFrameDirection(false),
nFrameDirection(0), nFrameDirection(0),
nHdLeft(0), nHdLeft(0),
...@@ -169,7 +169,7 @@ void SvxPageWindow::DrawPage(const Point& rOrg, const bool bSecond, const bool b ...@@ -169,7 +169,7 @@ void SvxPageWindow::DrawPage(const Point& rOrg, const bool bSecond, const bool b
DrawRect(Rectangle(Point(0,0),winSize)); DrawRect(Rectangle(Point(0,0),winSize));
if(bResetBackground) if(bResetBackground)
bResetBackground = sal_False; bResetBackground = false;
} }
SetLineColor(rFieldTextColor); SetLineColor(rFieldTextColor);
// Shadow // Shadow
......
...@@ -341,7 +341,7 @@ namespace svx ...@@ -341,7 +341,7 @@ namespace svx
case COMMIT_RECORD: case COMMIT_RECORD:
{ {
sal_Bool bDummy( sal_False ); sal_Bool bDummy( false );
bSuccess = m_xFormOperations->commitCurrentRecord( bDummy ); bSuccess = m_xFormOperations->commitCurrentRecord( bDummy );
} }
break; break;
......
...@@ -64,7 +64,7 @@ SvxFmAbsRecWin::~SvxFmAbsRecWin() ...@@ -64,7 +64,7 @@ SvxFmAbsRecWin::~SvxFmAbsRecWin()
} }
void SvxFmAbsRecWin::FirePosition( sal_Bool _bForce ) void SvxFmAbsRecWin::FirePosition( bool _bForce )
{ {
if ( _bForce || IsValueChangedFromSaved() ) if ( _bForce || IsValueChangedFromSaved() )
{ {
...@@ -92,14 +92,14 @@ void SvxFmAbsRecWin::FirePosition( sal_Bool _bForce ) ...@@ -92,14 +92,14 @@ void SvxFmAbsRecWin::FirePosition( sal_Bool _bForce )
void SvxFmAbsRecWin::LoseFocus() void SvxFmAbsRecWin::LoseFocus()
{ {
FirePosition( sal_False ); FirePosition( false );
} }
void SvxFmAbsRecWin::KeyInput( const KeyEvent& rKeyEvent ) void SvxFmAbsRecWin::KeyInput( const KeyEvent& rKeyEvent )
{ {
if( rKeyEvent.GetKeyCode() == KEY_RETURN && !GetText().isEmpty() ) if( rKeyEvent.GetKeyCode() == KEY_RETURN && !GetText().isEmpty() )
FirePosition( sal_True ); FirePosition( true );
else else
NumericField::KeyInput( rKeyEvent ); NumericField::KeyInput( rKeyEvent );
} }
......
...@@ -38,7 +38,7 @@ public: ...@@ -38,7 +38,7 @@ public:
virtual void LoseFocus() SAL_OVERRIDE; virtual void LoseFocus() SAL_OVERRIDE;
protected: protected:
virtual void FirePosition( sal_Bool _bForce ); virtual void FirePosition( bool _bForce );
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment