diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-16 11:39:08 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-16 11:51:51 +0200 |
commit | 5b1b1e55ce492ceb1a907833f7073b46451760c6 (patch) | |
tree | 6f1ff57b2cb011702eb79c41d180063ab16d9463 /cui/source/tabpages/textanim.cxx | |
parent | 199d333f131474729a105afa5a3da61205f61df2 (diff) |
cui: sal_Bool->bool
Change-Id: Ib7dd1f27d4909d30ee794936364a472a9755c609
Diffstat (limited to 'cui/source/tabpages/textanim.cxx')
-rw-r--r-- | cui/source/tabpages/textanim.cxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/cui/source/tabpages/textanim.cxx b/cui/source/tabpages/textanim.cxx index accca2fe1b7b..588cd74713b0 100644 --- a/cui/source/tabpages/textanim.cxx +++ b/cui/source/tabpages/textanim.cxx @@ -185,7 +185,7 @@ void SvxTextAnimationPage::Reset( const SfxItemSet& rAttrs ) if( pItem ) { m_pTsbStartInside->EnableTriState( false ); - sal_Bool bValue = ( ( const SdrTextAniStartInsideItem* )pItem )->GetValue(); + bool bValue = ( ( const SdrTextAniStartInsideItem* )pItem )->GetValue(); if( bValue ) m_pTsbStartInside->SetState( TRISTATE_TRUE ); else @@ -202,7 +202,7 @@ void SvxTextAnimationPage::Reset( const SfxItemSet& rAttrs ) if( pItem ) { m_pTsbStopInside->EnableTriState( false ); - sal_Bool bValue = ( ( const SdrTextAniStopInsideItem* )pItem )->GetValue(); + bool bValue = ( ( const SdrTextAniStopInsideItem* )pItem )->GetValue(); if( bValue ) m_pTsbStopInside->SetState( TRISTATE_TRUE ); else @@ -334,7 +334,7 @@ void SvxTextAnimationPage::Reset( const SfxItemSet& rAttrs ) bool SvxTextAnimationPage::FillItemSet( SfxItemSet& rAttrs) { - sal_Bool bModified = sal_False; + bool bModified = false; sal_Int32 nPos; TriState eState; @@ -344,7 +344,7 @@ bool SvxTextAnimationPage::FillItemSet( SfxItemSet& rAttrs) nPos != m_pLbEffect->GetSavedValue() ) { rAttrs.Put( SdrTextAniKindItem( (SdrTextAniKind) nPos ) ); - bModified = sal_True; + bModified = true; } // animation direction @@ -355,23 +355,23 @@ bool SvxTextAnimationPage::FillItemSet( SfxItemSet& rAttrs) { SdrTextAniDirection eValue = (SdrTextAniDirection) GetSelectedDirection(); rAttrs.Put( SdrTextAniDirectionItem( eValue ) ); - bModified = sal_True; + bModified = true; } // Start inside eState = m_pTsbStartInside->GetState(); if( eState != m_pTsbStartInside->GetSavedValue() ) { - rAttrs.Put( SdrTextAniStartInsideItem( (sal_Bool) TRISTATE_TRUE == eState ) ); - bModified = sal_True; + rAttrs.Put( SdrTextAniStartInsideItem( TRISTATE_TRUE == eState ) ); + bModified = true; } // Stop inside eState = m_pTsbStopInside->GetState(); if( eState != m_pTsbStopInside->GetSavedValue() ) { - rAttrs.Put( SdrTextAniStopInsideItem( (sal_Bool) TRISTATE_TRUE == eState ) ); - bModified = sal_True; + rAttrs.Put( SdrTextAniStopInsideItem( TRISTATE_TRUE == eState ) ); + bModified = true; } // quantity @@ -382,13 +382,13 @@ bool SvxTextAnimationPage::FillItemSet( SfxItemSet& rAttrs) { sal_Int64 nValue = 0; if( eState == TRISTATE_TRUE /*#89844#*/ && m_pTsbEndless->IsEnabled()) - bModified = sal_True; + bModified = true; else { if( aStr != m_pNumFldCount->GetSavedValue() ) { nValue = m_pNumFldCount->GetValue(); - bModified = sal_True; + bModified = true; } } if( bModified ) @@ -403,13 +403,13 @@ bool SvxTextAnimationPage::FillItemSet( SfxItemSet& rAttrs) { sal_Int64 nValue = 0; if( eState == TRISTATE_TRUE ) - bModified = sal_True; + bModified = true; else { if( aStr != m_pMtrFldDelay->GetSavedValue() ) { nValue = m_pMtrFldDelay->GetValue(); - bModified = sal_True; + bModified = true; } } if( bModified ) @@ -434,7 +434,7 @@ bool SvxTextAnimationPage::FillItemSet( SfxItemSet& rAttrs) } rAttrs.Put( SdrTextAniAmountItem( (sal_Int16) nValue ) ); - bModified = sal_True; + bModified = true; } return( bModified ); |