diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-11 15:23:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-14 07:50:32 +0200 |
commit | 13bc4094dadb6accfbe00ba93dee178c22922c56 (patch) | |
tree | e22f2a6b63a84b95123b706aa1a75259126cb261 /cui | |
parent | fae4102573d184696a1fe1394258ec9ad3a895dc (diff) |
svx: sal_Bool->bool
Change-Id: I673d022c01b7d076120c026b236a37735b5043b0
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/tparea.cxx | 8 | ||||
-rw-r--r-- | cui/source/tabpages/tpline.cxx | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx index 354b7ab118d4..8fdda34f69c7 100644 --- a/cui/source/tabpages/tparea.cxx +++ b/cui/source/tabpages/tparea.cxx @@ -378,7 +378,7 @@ sal_Bool SvxTransparenceTabPage::FillItemSet(SfxItemSet& rAttrs) aGrad.SetStartIntens(100); aGrad.SetEndIntens(100); XFillFloatTransparenceItem aItem( rXFSet.GetPool()/*aString*/, aGrad); - aItem.SetEnabled(sal_False); + aItem.SetEnabled(false); rAttrs.Put(aItem); bModified = sal_True; } @@ -1212,7 +1212,7 @@ sal_Bool SvxAreaTabPage::FillItemSet( SfxItemSet& rAttrs ) if( m_pTsbScale->IsEnabled() ) pItem = new XFillBmpSizeLogItem( eState == TRISTATE_FALSE ); else if( m_pTsbOriginal->IsEnabled() && m_pTsbOriginal->GetState() == TRISTATE_TRUE ) - pItem = new XFillBmpSizeLogItem( sal_True ); + pItem = new XFillBmpSizeLogItem( true ); if( pItem ) { @@ -2224,7 +2224,7 @@ IMPL_LINK_NOARG(SvxAreaTabPage, ModifyTileHdl_Impl) { // original size -> size == 0 rXFSet.Put( XFillBmpSizeXItem( 0 ) ); - rXFSet.Put( XFillBmpSizeLogItem( sal_True ) ); + rXFSet.Put( XFillBmpSizeLogItem( true ) ); } if( m_pMtrFldYSize->IsEnabled() ) @@ -2245,7 +2245,7 @@ IMPL_LINK_NOARG(SvxAreaTabPage, ModifyTileHdl_Impl) { // original size -> size == 0 rXFSet.Put( XFillBmpSizeYItem( 0 ) ); - rXFSet.Put( XFillBmpSizeLogItem( sal_True ) ); + rXFSet.Put( XFillBmpSizeLogItem( true ) ); } if( m_pMtrFldOffset->IsEnabled() ) diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx index b6529fe0e523..6bd4deddd722 100644 --- a/cui/source/tabpages/tpline.cxx +++ b/cui/source/tabpages/tpline.cxx @@ -1063,14 +1063,14 @@ sal_Bool SvxLineTabPage::FillXLSet_Impl() // Centered line end if( m_pTsbCenterStart->GetState() == TRISTATE_TRUE ) - rXLSet.Put( XLineStartCenterItem( sal_True ) ); + rXLSet.Put( XLineStartCenterItem( true ) ); else if( m_pTsbCenterStart->GetState() == TRISTATE_FALSE ) - rXLSet.Put( XLineStartCenterItem( sal_False ) ); + rXLSet.Put( XLineStartCenterItem( false ) ); if( m_pTsbCenterEnd->GetState() == TRISTATE_TRUE ) - rXLSet.Put( XLineEndCenterItem( sal_True ) ); + rXLSet.Put( XLineEndCenterItem( true ) ); else if( m_pTsbCenterEnd->GetState() == TRISTATE_FALSE ) - rXLSet.Put( XLineEndCenterItem( sal_False ) ); + rXLSet.Put( XLineEndCenterItem( false ) ); // Transparency sal_uInt16 nVal = (sal_uInt16)m_pMtrTransparent->GetValue(); |