summaryrefslogtreecommitdiffstats
path: root/svx/source/dialog
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-25 14:20:18 +0200
committerNoel Grandin <noel@peralex.com>2014-03-25 14:32:57 +0200
commit80ef0dfedcbba5a0c2cb8de409cc24200191fab8 (patch)
tree4799ef80c36dabd4adb50da98d5a9baeff237b8a /svx/source/dialog
parentsvtools: sal_Bool->bool (diff)
downloadcore-80ef0dfedcbba5a0c2cb8de409cc24200191fab8.tar.gz
core-80ef0dfedcbba5a0c2cb8de409cc24200191fab8.zip
svtools: sal_Bool->bool
Change-Id: I42a341b5805e0b2a7d619ba552700db35815afd5
Diffstat (limited to 'svx/source/dialog')
-rw-r--r--svx/source/dialog/fontwork.cxx16
-rw-r--r--svx/source/dialog/optgrid.cxx8
2 files changed, 12 insertions, 12 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 );