summaryrefslogtreecommitdiff
path: root/cui/source/options
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-21 12:53:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-21 12:53:51 +0100
commite8f8f24c8415898c787bbfb629247ed62e73a2b9 (patch)
treedae18a3acbf29c192118e7c003f80df8da8e21ae /cui/source/options
parent1c8402465cfd4df862409dc310f5f099d044c4d8 (diff)
vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
Diffstat (limited to 'cui/source/options')
-rw-r--r--cui/source/options/optasian.cxx4
-rw-r--r--cui/source/options/optctl.cxx8
-rw-r--r--cui/source/options/optgdlg.cxx4
-rw-r--r--cui/source/options/optinet2.cxx20
-rw-r--r--cui/source/options/optupdt.cxx12
5 files changed, 24 insertions, 24 deletions
diff --git a/cui/source/options/optasian.cxx b/cui/source/options/optasian.cxx
index 4e3769423ea8..db9ac45911ef 100644
--- a/cui/source/options/optasian.cxx
+++ b/cui/source/options/optasian.cxx
@@ -265,9 +265,9 @@ void SvxAsianLayoutPage::Reset( const SfxItemSet& )
m_pHintFT->Enable(false);
}
if(bKernWesternText)
- m_pCharKerningRB->Check(sal_True);
+ m_pCharKerningRB->Check(true);
else
- m_pCharPunctKerningRB->Check(sal_True);
+ m_pCharPunctKerningRB->Check(true);
switch(nCompress)
{
case 0 : m_pNoCompressionRB->Check(); break;
diff --git a/cui/source/options/optctl.cxx b/cui/source/options/optctl.cxx
index 2ad83c561f13..7223e3972663 100644
--- a/cui/source/options/optctl.cxx
+++ b/cui/source/options/optctl.cxx
@@ -32,8 +32,8 @@ IMPL_LINK_NOARG(SvxCTLOptionsPage, SequenceCheckingCB_Hdl)
// #i48117#: by default restricted and type&replace have to be switched on
if(bIsSequenceChecking)
{
- m_pTypeReplaceCB->Check( sal_True );
- m_pRestrictedCB->Check( sal_True );
+ m_pTypeReplaceCB->Check( true );
+ m_pRestrictedCB->Check( true );
}
return 0;
}
@@ -92,8 +92,8 @@ sal_Bool SvxCTLOptionsPage::FillItemSet( SfxItemSet& )
bModified = sal_True;
}
- sal_Bool bLogicalChecked = m_pMovementLogicalRB->IsChecked();
- sal_Bool bVisualChecked = m_pMovementVisualRB->IsChecked();
+ bool bLogicalChecked = m_pMovementLogicalRB->IsChecked();
+ bool bVisualChecked = m_pMovementVisualRB->IsChecked();
if ( bLogicalChecked != m_pMovementLogicalRB->GetSavedValue() ||
bVisualChecked != m_pMovementVisualRB->GetSavedValue() )
{
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index e2544a61f11a..d8b456dfb128 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -1582,7 +1582,7 @@ void OfaLanguagesTabPage::Reset( const SfxItemSet& rSet )
{
m_pWesternLanguageLB->GrabFocus();
m_pCurrentDocCB->Enable(true);
- m_pCurrentDocCB->Check(sal_True);
+ m_pCurrentDocCB->Check(true);
}
}
@@ -1618,7 +1618,7 @@ namespace
void lcl_checkLanguageCheckBox(CheckBox* _rCB,sal_Bool _bNewValue,sal_Bool _bOldValue)
{
if ( _bNewValue )
- _rCB->Check(sal_True);
+ _rCB->Check(true);
else
_rCB->Check( _bOldValue );
// #i15082# do not call SaveValue() in running dialog...
diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx
index fe2d6b0423bb..31c37eb39783 100644
--- a/cui/source/options/optinet2.cxx
+++ b/cui/source/options/optinet2.cxx
@@ -648,7 +648,7 @@ IMPL_LINK_NOARG(SvxSecurityTabPage, SavePasswordHdl)
if ( xMasterPasswd->changeMasterPassword( Reference< task::XInteractionHandler >() ) )
{
m_pMasterPasswordPB->Enable( true );
- m_pMasterPasswordCB->Check( sal_True );
+ m_pMasterPasswordCB->Check( true );
m_pMasterPasswordCB->Enable( true );
m_pMasterPasswordFT->Enable( true );
m_pShowConnectionsPB->Enable( true );
@@ -656,7 +656,7 @@ IMPL_LINK_NOARG(SvxSecurityTabPage, SavePasswordHdl)
else
{
xMasterPasswd->allowPersistentStoring( bOldValue );
- m_pSavePasswordsCB->Check( sal_False );
+ m_pSavePasswordsCB->Check( false );
}
}
else
@@ -667,7 +667,7 @@ IMPL_LINK_NOARG(SvxSecurityTabPage, SavePasswordHdl)
if( RET_YES == nRet )
{
xMasterPasswd->allowPersistentStoring( sal_False );
- m_pMasterPasswordCB->Check( sal_True );
+ m_pMasterPasswordCB->Check( true );
m_pMasterPasswordPB->Enable( false );
m_pMasterPasswordCB->Enable( false );
m_pMasterPasswordFT->Enable( false );
@@ -675,7 +675,7 @@ IMPL_LINK_NOARG(SvxSecurityTabPage, SavePasswordHdl)
}
else
{
- m_pSavePasswordsCB->Check( sal_True );
+ m_pSavePasswordsCB->Check( true );
m_pMasterPasswordPB->Enable( true );
m_pShowConnectionsPB->Enable( true );
}
@@ -721,7 +721,7 @@ IMPL_LINK_NOARG(SvxSecurityTabPage, MasterPasswordCBHdl)
}
else
{
- m_pMasterPasswordCB->Check( sal_False );
+ m_pMasterPasswordCB->Check( false );
m_pMasterPasswordPB->Enable( true );
m_pMasterPasswordFT->Enable( true );
}
@@ -735,7 +735,7 @@ IMPL_LINK_NOARG(SvxSecurityTabPage, MasterPasswordCBHdl)
}
else
{
- m_pMasterPasswordCB->Check( sal_True );
+ m_pMasterPasswordCB->Check( true );
m_pMasterPasswordPB->Enable( true );
m_pShowConnectionsPB->Enable( true );
}
@@ -823,7 +823,7 @@ void SvxSecurityTabPage::InitControls()
m_pMasterPasswordPB->Enable( false );
m_pMasterPasswordCB->Enable( false );
- m_pMasterPasswordCB->Check( sal_True );
+ m_pMasterPasswordCB->Check( true );
m_pMasterPasswordFT->Enable( false );
m_pShowConnectionsPB->Enable( false );
@@ -837,14 +837,14 @@ void SvxSecurityTabPage::InitControls()
{
m_pMasterPasswordCB->Enable( true );
m_pShowConnectionsPB->Enable( true );
- m_pSavePasswordsCB->Check( sal_True );
+ m_pSavePasswordsCB->Check( true );
if ( xMasterPasswd->isDefaultMasterPasswordUsed() )
- m_pMasterPasswordCB->Check( sal_False );
+ m_pMasterPasswordCB->Check( false );
else
{
m_pMasterPasswordPB->Enable( true );
- m_pMasterPasswordCB->Check( sal_True );
+ m_pMasterPasswordCB->Check( true );
m_pMasterPasswordFT->Enable( true );
}
}
diff --git a/cui/source/options/optupdt.cxx b/cui/source/options/optupdt.cxx
index a697b9f39cb9..01a14d330f5c 100644
--- a/cui/source/options/optupdt.cxx
+++ b/cui/source/options/optupdt.cxx
@@ -172,19 +172,19 @@ sal_Bool SvxOnlineUpdateTabPage::FillItemSet( SfxItemSet& )
}
nValue = 0;
- if( sal_True == m_pEveryDayButton->IsChecked() )
+ if( m_pEveryDayButton->IsChecked() )
{
- if( sal_False == m_pEveryDayButton->GetSavedValue() )
+ if( !m_pEveryDayButton->GetSavedValue() )
nValue = 86400;
}
- else if( sal_True == m_pEveryWeekButton->IsChecked() )
+ else if( m_pEveryWeekButton->IsChecked() )
{
- if( sal_False == m_pEveryWeekButton->GetSavedValue() )
+ if( !m_pEveryWeekButton->GetSavedValue() )
nValue = 604800;
}
- else if( sal_True == m_pEveryMonthButton->IsChecked() )
+ else if( m_pEveryMonthButton->IsChecked() )
{
- if( sal_False == m_pEveryMonthButton->GetSavedValue() )
+ if( !m_pEveryMonthButton->GetSavedValue() )
nValue = 2592000;
}