summaryrefslogtreecommitdiff
path: root/svx/source/dialog/rubydialog.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-14 16:15:22 +0200
committerNoel Grandin <noel@peralex.com>2014-04-15 09:02:33 +0200
commitbe88947bac607013c6b7a3c923a2eccd09e50942 (patch)
tree09cdc0803437ac8c76e12c60c6644c49cb1d5dd4 /svx/source/dialog/rubydialog.cxx
parentcfddda092b0c105b5be7942a94cbbd88d55677f1 (diff)
svx: sal_Bool->bool
Change-Id: I464eba5fd5521c31868c6fc8a2137f17428d421e
Diffstat (limited to 'svx/source/dialog/rubydialog.cxx')
-rw-r--r--svx/source/dialog/rubydialog.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx
index 76c521ea2829..674d5ba5ed3b 100644
--- a/svx/source/dialog/rubydialog.cxx
+++ b/svx/source/dialog/rubydialog.cxx
@@ -292,7 +292,7 @@ void SvxRubyDialog::Activate()
SfxModelessDialog::Activate();
SfxPoolItem* pState = 0;
SfxItemState eState = pBindings->QueryState( SID_STYLE_DESIGNER, pState );
- sal_Bool bEnable = (eState < SFX_ITEM_AVAILABLE) || !pState || !((SfxBoolItem*)pState)->GetValue();
+ bool bEnable = (eState < SFX_ITEM_AVAILABLE) || !pState || !((SfxBoolItem*)pState)->GetValue();
delete pState;
m_pStylistPB->Enable(bEnable);
//get selection from current view frame
@@ -378,7 +378,7 @@ void SvxRubyDialog::SetRubyText(sal_Int32 nPos, Edit& rLeft, Edit& rRight)
{
OUString sLeft, sRight;
const Sequence<PropertyValues>& aRubyValues = pImpl->GetRubyValues();
- sal_Bool bEnable = aRubyValues.getLength() > nPos;
+ bool bEnable = aRubyValues.getLength() > nPos;
if(bEnable)
{
const Sequence<PropertyValue> aProps = aRubyValues.getConstArray()[nPos];
@@ -392,7 +392,7 @@ void SvxRubyDialog::SetRubyText(sal_Int32 nPos, Edit& rLeft, Edit& rRight)
}
}
else if(!nPos)
- bEnable = sal_True;
+ bEnable = true;
rLeft.Enable(bEnable);
rRight.Enable(bEnable);
rLeft.SetText(sLeft);
@@ -457,7 +457,7 @@ void SvxRubyDialog::Update()
}
if(nPosition > -2 && pProps[nProp].Name == cRubyIsAbove )
{
- sal_Bool bTmp = *(sal_Bool*)pProps[nProp].Value.getValue();
+ bool bTmp = *(sal_Bool*)pProps[nProp].Value.getValue();
if(!nRuby)
nPosition = bTmp ? 0 : 1;
else if( (!nPosition && !bTmp) || (nPosition == 1 && bTmp) )