diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-04 11:37:37 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-11 08:18:14 +0200 |
commit | caf8f777e38e75641dcd13461053ba0bfd44500f (patch) | |
tree | 9bd4db6893ec1327e8e276b0088f0d7f69ecbdc4 /svx/source/dialog | |
parent | svx: sal_Bool->bool (diff) | |
download | core-caf8f777e38e75641dcd13461053ba0bfd44500f.tar.gz core-caf8f777e38e75641dcd13461053ba0bfd44500f.zip |
svx: sal_Bool->bool
Change-Id: I41f3935a468f38c59bfbce7096bb086daf6190a3
Diffstat (limited to 'svx/source/dialog')
-rw-r--r-- | svx/source/dialog/dlgctrl.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx index 27515989e779..2364a2a1c905 100644 --- a/svx/source/dialog/dlgctrl.cxx +++ b/svx/source/dialog/dlgctrl.cxx @@ -158,7 +158,7 @@ void SvxRectCtl::Resize_Impl() break; } Reset(); - InitSettings( sal_True, sal_True ); + InitSettings( true, true ); } @@ -211,7 +211,7 @@ void SvxRectCtl::InitRectBitmap( void ) -void SvxRectCtl::InitSettings( sal_Bool bForeground, sal_Bool bBackground ) +void SvxRectCtl::InitSettings( bool bForeground, bool bBackground ) { const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings(); @@ -372,9 +372,9 @@ void SvxRectCtl::KeyInput( const KeyEvent& rKeyEvt ) void SvxRectCtl::StateChanged( StateChangedType nType ) { if ( nType == STATE_CHANGE_CONTROLFOREGROUND ) - InitSettings( sal_True, sal_False ); + InitSettings( true, false ); else if ( nType == STATE_CHANGE_CONTROLBACKGROUND ) - InitSettings( sal_False, sal_True ); + InitSettings( false, true ); Window::StateChanged( nType ); } @@ -384,7 +384,7 @@ void SvxRectCtl::StateChanged( StateChangedType nType ) void SvxRectCtl::DataChanged( const DataChangedEvent& rDCEvt ) { if ( ( rDCEvt.GetType() == DATACHANGED_SETTINGS ) && ( rDCEvt.GetFlags() & SETTINGS_STYLE ) ) - InitSettings( sal_True, sal_True ); + InitSettings( true, true ); else Window::DataChanged( rDCEvt ); } @@ -745,7 +745,7 @@ RECT_POINT SvxRectCtl::GetApproxRPFromPixPt( const ::com::sun::star::awt::Point& } // CompletelyDisabled() added to have a disabled state for SvxRectCtl -void SvxRectCtl::DoCompletelyDisable(sal_Bool bNew) +void SvxRectCtl::DoCompletelyDisable(bool bNew) { mbCompleteDisable = bNew; Invalidate(); |