summaryrefslogtreecommitdiff
path: root/sc/source/ui/attrdlg
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-23 11:08:48 +0200
committerNoel Grandin <noel@peralex.com>2014-04-23 11:11:51 +0200
commit6dda3d45c902d64323a085ea1604a993521f313d (patch)
tree9b964839510ac36762733bd99951539040f8ffc0 /sc/source/ui/attrdlg
parente32da7783686f088fa83cdae209bcf1c81d82f1e (diff)
sc: sal_Bool->bool
Change-Id: I70aad0b38979f45a313b8ac36890fb6c64d11bb0
Diffstat (limited to 'sc/source/ui/attrdlg')
-rw-r--r--sc/source/ui/attrdlg/tabpages.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/attrdlg/tabpages.cxx b/sc/source/ui/attrdlg/tabpages.cxx
index 0b20eee29e08..07a137bfc639 100644
--- a/sc/source/ui/attrdlg/tabpages.cxx
+++ b/sc/source/ui/attrdlg/tabpages.cxx
@@ -118,7 +118,7 @@ void ScTabPageProtection::Reset( const SfxItemSet& rCoreAttrs )
bool ScTabPageProtection::FillItemSet( SfxItemSet& rCoreAttrs )
{
- sal_Bool bAttrsChanged = false;
+ bool bAttrsChanged = false;
sal_uInt16 nWhich = GetWhich( SID_SCATTR_PROTECTION );
const SfxPoolItem* pOldItem = GetOldItem( rCoreAttrs, SID_SCATTR_PROTECTION );
const SfxItemSet& rOldSet = GetItemSet();
@@ -133,7 +133,7 @@ bool ScTabPageProtection::FillItemSet( SfxItemSet& rCoreAttrs )
aProtAttr.SetHidePrint( bHidePrint );
if ( bTriEnabled )
- bAttrsChanged = sal_True; // DontCare -> properly value
+ bAttrsChanged = true; // DontCare -> properly value
else
bAttrsChanged = !pOldItem || !( aProtAttr == *(const ScProtectionAttr*)pOldItem );
}
@@ -162,7 +162,7 @@ IMPL_LINK( ScTabPageProtection, ButtonClickHdl, TriStateBox*, pBox )
else
{
bDontCare = false; // DontCare from everywhere
- sal_Bool bOn = ( eState == TRISTATE_TRUE ); // from a selected value
+ bool bOn = ( eState == TRISTATE_TRUE ); // from a selected value
if ( pBox == m_pBtnProtect )
bProtect = bOn;
@@ -200,7 +200,7 @@ void ScTabPageProtection::UpdateButtons()
m_pBtnHidePrint->SetState( bHidePrint ? TRISTATE_TRUE : TRISTATE_FALSE );
}
- sal_Bool bEnable = ( m_pBtnHideCell->GetState() != TRISTATE_TRUE );
+ bool bEnable = ( m_pBtnHideCell->GetState() != TRISTATE_TRUE );
{
m_pBtnProtect->Enable( bEnable );
m_pBtnHideFormula->Enable( bEnable );