diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-25 14:20:18 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-25 14:32:57 +0200 |
commit | 80ef0dfedcbba5a0c2cb8de409cc24200191fab8 (patch) | |
tree | 4799ef80c36dabd4adb50da98d5a9baeff237b8a /svx | |
parent | b5e11641a7cec634c603213869a3475b1e01084e (diff) |
svtools: sal_Bool->bool
Change-Id: I42a341b5805e0b2a7d619ba552700db35815afd5
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/fontwork.cxx | 16 | ||||
-rw-r--r-- | svx/source/dialog/optgrid.cxx | 8 | ||||
-rw-r--r-- | svx/source/tbxctrls/itemwin.cxx | 4 |
3 files changed, 14 insertions, 14 deletions
diff --git a/svx/source/dialog/fontwork.cxx b/svx/source/dialog/fontwork.cxx index 5620c82a470b..dd6a04535e42 100644 --- a/svx/source/dialog/fontwork.cxx +++ b/svx/source/dialog/fontwork.cxx @@ -245,10 +245,10 @@ SvxFontWorkDialog::SvxFontWorkDialog( SfxBindings *pBindinx, // Set System metric const FieldUnit eDlgUnit = rBindings.GetDispatcher()->GetModule()->GetFieldUnit(); - SetFieldUnit( aMtrFldDistance, eDlgUnit, sal_True ); - SetFieldUnit( aMtrFldTextStart, eDlgUnit, sal_True ); - SetFieldUnit( aMtrFldShadowX, eDlgUnit, sal_True ); - SetFieldUnit( aMtrFldShadowY, eDlgUnit, sal_True ); + SetFieldUnit( aMtrFldDistance, eDlgUnit, true ); + SetFieldUnit( aMtrFldTextStart, eDlgUnit, true ); + SetFieldUnit( aMtrFldShadowX, eDlgUnit, true ); + SetFieldUnit( aMtrFldShadowY, eDlgUnit, true ); if( eDlgUnit == FUNIT_MM ) { aMtrFldDistance.SetSpinSize( 50 ); @@ -723,16 +723,16 @@ IMPL_LINK_NOARG(SvxFontWorkDialog, InputTimoutHdl_Impl) const FieldUnit eDlgUnit = rBindings.GetDispatcher()->GetModule()->GetFieldUnit(); if( eDlgUnit != aMtrFldDistance.GetUnit() ) { - SetFieldUnit( aMtrFldDistance, eDlgUnit, sal_True ); - SetFieldUnit( aMtrFldTextStart, eDlgUnit, sal_True ); + SetFieldUnit( aMtrFldDistance, eDlgUnit, true ); + SetFieldUnit( aMtrFldTextStart, eDlgUnit, true ); aMtrFldDistance.SetSpinSize( eDlgUnit == FUNIT_MM ? 50 : 10 ); aMtrFldTextStart.SetSpinSize( eDlgUnit == FUNIT_MM ? 50 : 10 ); } if( eDlgUnit != aMtrFldShadowX.GetUnit() && aTbxShadow.IsItemChecked( TBI_SHADOW_NORMAL ) ) { - SetFieldUnit( aMtrFldShadowX, eDlgUnit, sal_True ); - SetFieldUnit( aMtrFldShadowY, eDlgUnit, sal_True ); + SetFieldUnit( aMtrFldShadowX, eDlgUnit, true ); + SetFieldUnit( aMtrFldShadowY, eDlgUnit, true ); aMtrFldShadowX.SetSpinSize( eDlgUnit == FUNIT_MM ? 50 : 10 ); aMtrFldShadowY.SetSpinSize( eDlgUnit == FUNIT_MM ? 50 : 10 ); } diff --git a/svx/source/dialog/optgrid.cxx b/svx/source/dialog/optgrid.cxx index d211172807f0..976dd5c2d302 100644 --- a/svx/source/dialog/optgrid.cxx +++ b/svx/source/dialog/optgrid.cxx @@ -159,11 +159,11 @@ SvxGridTabPage::SvxGridTabPage( Window* pParent, const SfxItemSet& rCoreSet) : long nFirst, nLast, nMin, nMax; lcl_GetMinMax(*pMtrFldDrawX , nFirst, nLast, nMin, nMax); - SetFieldUnit( *pMtrFldDrawX , eFUnit, sal_True ); + SetFieldUnit( *pMtrFldDrawX , eFUnit, true ); lcl_SetMinMax(*pMtrFldDrawX , nFirst, nLast, nMin, nMax); lcl_GetMinMax(*pMtrFldDrawY, nFirst, nLast, nMin, nMax); - SetFieldUnit( *pMtrFldDrawY, eFUnit, sal_True ); + SetFieldUnit( *pMtrFldDrawY, eFUnit, true ); lcl_SetMinMax(*pMtrFldDrawY, nFirst, nLast, nMin, nMax); @@ -273,14 +273,14 @@ void SvxGridTabPage::ActivatePage( const SfxItemSet& rSet ) long nVal = static_cast<long>(pMtrFldDrawX->Denormalize( pMtrFldDrawX->GetValue( FUNIT_TWIP ) )); lcl_GetMinMax(*pMtrFldDrawX, nFirst, nLast, nMin, nMax); - SetFieldUnit( *pMtrFldDrawX, eFUnit, sal_True ); + SetFieldUnit( *pMtrFldDrawX, eFUnit, true ); lcl_SetMinMax(*pMtrFldDrawX, nFirst, nLast, nMin, nMax); pMtrFldDrawX->SetValue( pMtrFldDrawX->Normalize( nVal ), FUNIT_TWIP ); nVal = static_cast<long>(pMtrFldDrawY->Denormalize( pMtrFldDrawY->GetValue( FUNIT_TWIP ) )); lcl_GetMinMax(*pMtrFldDrawY, nFirst, nLast, nMin, nMax); - SetFieldUnit(*pMtrFldDrawY, eFUnit, sal_True ); + SetFieldUnit(*pMtrFldDrawY, eFUnit, true ); lcl_SetMinMax(*pMtrFldDrawY, nFirst, nLast, nMin, nMax); pMtrFldDrawY->SetValue( pMtrFldDrawY->Normalize( nVal ), FUNIT_TWIP ); diff --git a/svx/source/tbxctrls/itemwin.cxx b/svx/source/tbxctrls/itemwin.cxx index 96365b3a872a..a84ae5499bcd 100644 --- a/svx/source/tbxctrls/itemwin.cxx +++ b/svx/source/tbxctrls/itemwin.cxx @@ -473,7 +473,7 @@ SvxMetricField::SvxMetricField( SetFirst( 0 ); eDlgUnit = SfxModule::GetModuleFieldUnit( mxFrame ); - SetFieldUnit( *this, eDlgUnit, sal_False ); + SetFieldUnit( *this, eDlgUnit, false ); Show(); } @@ -547,7 +547,7 @@ void SvxMetricField::RefreshDlgUnit() if ( eDlgUnit != eTmpUnit ) { eDlgUnit = eTmpUnit; - SetFieldUnit( *this, eDlgUnit, sal_False ); + SetFieldUnit( *this, eDlgUnit, false ); } } |