diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-18 14:54:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-19 09:21:24 +0200 |
commit | 16752a8a773cf8096e28628237238a562016c4e5 (patch) | |
tree | d871056db97706bdb66dfca046aeb68500c5e565 /cui/source | |
parent | be878d7cc54cbe3dc1de410e9ff760fe353ce56a (diff) |
sfx2: sal_Bool->bool
Change-Id: Ief810c49b821e2e60ee2c8b14187dd8d7d81c461
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/customize/macropg.cxx | 2 | ||||
-rw-r--r-- | cui/source/inc/macroass.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/macropg.hxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/border.cxx | 6 | ||||
-rw-r--r-- | cui/source/tabpages/macroass.cxx | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/cui/source/customize/macropg.cxx b/cui/source/customize/macropg.cxx index dee735feb778..011e8e032ed9 100644 --- a/cui/source/customize/macropg.cxx +++ b/cui/source/customize/macropg.cxx @@ -417,7 +417,7 @@ void _SvxMacroTabPage::SetReadOnly( sal_Bool bSet ) mpImpl->bReadOnly = bSet; } -sal_Bool _SvxMacroTabPage::IsReadOnly() const +bool _SvxMacroTabPage::IsReadOnly() const { return mpImpl->bReadOnly; } diff --git a/cui/source/inc/macroass.hxx b/cui/source/inc/macroass.hxx index abe82544e02d..c495db6099a3 100644 --- a/cui/source/inc/macroass.hxx +++ b/cui/source/inc/macroass.hxx @@ -73,7 +73,7 @@ public: virtual sal_Bool FillItemSet( SfxItemSet& rSet ); virtual void Reset( const SfxItemSet& rSet ); - sal_Bool IsReadOnly() const; + bool IsReadOnly() const; }; inline const SvxMacroTableDtor& _SfxMacroTabPage::GetMacroTbl() const diff --git a/cui/source/inc/macropg.hxx b/cui/source/inc/macropg.hxx index e5ab8cd86652..00e20dbee8b3 100644 --- a/cui/source/inc/macropg.hxx +++ b/cui/source/inc/macropg.hxx @@ -90,7 +90,7 @@ public: void DisplayAppEvents( bool appEvents); void SetReadOnly( sal_Bool bSet ); - sal_Bool IsReadOnly() const; + bool IsReadOnly() const; }; class SvxMacroTabPage : public _SvxMacroTabPage diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx index 8466aa635067..10c3c42571d3 100644 --- a/cui/source/tabpages/border.cxx +++ b/cui/source/tabpages/border.cxx @@ -214,7 +214,7 @@ SvxBorderTabPage::SvxBorderTabPage(Window* pParent, const SfxItemSet& rCoreAttrs SetFieldUnit(*m_pEdShadowSize, eFUnit); - sal_uInt16 nWhich = GetWhich( SID_ATTR_BORDER_INNER, sal_False ); + sal_uInt16 nWhich = GetWhich( SID_ATTR_BORDER_INNER, false ); sal_Bool bIsDontCare = sal_True; if ( rCoreAttrs.GetItemState( nWhich, true ) >= SFX_ITEM_AVAILABLE ) @@ -390,7 +390,7 @@ void SvxBorderTabPage::Reset( const SfxItemSet& rSet ) pBoxItem = (const SvxBoxItem*)GetItem( rSet, SID_ATTR_BORDER_OUTER ); - pBoxInfoItem = (const SvxBoxInfoItem*)GetItem( rSet, SID_ATTR_BORDER_INNER, sal_False ); + pBoxInfoItem = (const SvxBoxInfoItem*)GetItem( rSet, SID_ATTR_BORDER_INNER, false ); eCoreUnit = rSet.GetPool()->GetMetric( nWhichBox ); @@ -727,7 +727,7 @@ sal_Bool SvxBorderTabPage::FillItemSet( SfxItemSet& rCoreAttrs ) rCoreAttrs.Put( aBoxItem ); bAttrsChanged |= true; } - const SfxPoolItem* pOld = GetOldItem( rCoreAttrs, SID_ATTR_BORDER_INNER, sal_False ); + const SfxPoolItem* pOld = GetOldItem( rCoreAttrs, SID_ATTR_BORDER_INNER, false ); if ( !pOld || !( *(const SvxBoxInfoItem*)pOld == aBoxInfoItem ) ) { diff --git a/cui/source/tabpages/macroass.cxx b/cui/source/tabpages/macroass.cxx index c2755669e835..63bc895156ab 100644 --- a/cui/source/tabpages/macroass.cxx +++ b/cui/source/tabpages/macroass.cxx @@ -250,7 +250,7 @@ void _SfxMacroTabPage::Reset( const SfxItemSet& rSet ) rListBox.SetCurEntry( pE ); } -sal_Bool _SfxMacroTabPage::IsReadOnly() const +bool _SfxMacroTabPage::IsReadOnly() const { return mpImpl->bReadOnly; } |