summaryrefslogtreecommitdiff
path: root/cui/source/tabpages
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-24 15:42:28 +0200
committerNoel Grandin <noel@peralex.com>2014-03-25 14:32:56 +0200
commit436cd900956b5fd0b6583954c002f8c28ca32698 (patch)
tree00bf0fb7c6daa0041670ce5209e5912780520a66 /cui/source/tabpages
parentc849d750eb751d3f2b99d23cca1c8c08672ff379 (diff)
svtools: sal_Bool->bool
Change-Id: Ifd3e643dbc6755839ad4af73ae141fd115ddb4f4
Diffstat (limited to 'cui/source/tabpages')
-rw-r--r--cui/source/tabpages/autocdlg.cxx22
-rw-r--r--cui/source/tabpages/macroass.cxx2
-rw-r--r--cui/source/tabpages/numfmt.cxx4
3 files changed, 14 insertions, 14 deletions
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index 9b2223718f94..848190c048b5 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -232,7 +232,7 @@ void OfaAutocorrOptionsPage::Reset( const SfxItemSet& )
SvxAutoCorrect* pAutoCorrect = SvxAutoCorrCfg::Get().GetAutoCorrect();
const long nFlags = pAutoCorrect->GetFlags();
- m_pCheckLB->SetUpdateMode(sal_False);
+ m_pCheckLB->SetUpdateMode(false);
m_pCheckLB->Clear();
m_pCheckLB->InsertEntry(m_sInput);
@@ -254,7 +254,7 @@ void OfaAutocorrOptionsPage::Reset( const SfxItemSet& )
m_pCheckLB->CheckEntryPos( nPos++, 0 != (nFlags & IgnoreDoubleSpace) );
m_pCheckLB->CheckEntryPos( nPos++, 0 != (nFlags & CorrectCapsLock) );
- m_pCheckLB->SetUpdateMode(sal_True);
+ m_pCheckLB->SetUpdateMode(true);
}
/*********************************************************************/
@@ -608,7 +608,7 @@ void OfaSwAutoFmtOptionsPage::Reset( const SfxItemSet& )
SvxSwAutoFmtFlags *pOpt = &pAutoCorrect->GetSwFlags();
const long nFlags = pAutoCorrect->GetFlags();
- m_pCheckLB->SetUpdateMode(sal_False);
+ m_pCheckLB->SetUpdateMode(false);
m_pCheckLB->Clear();
// The following entries have to be inserted in the same order
@@ -678,7 +678,7 @@ void OfaSwAutoFmtOptionsPage::Reset( const SfxItemSet& )
m_pCheckLB->CheckEntryPos( CREATE_TABLE, CBCOL_SECOND, pOpt->bCreateTable );
m_pCheckLB->CheckEntryPos( REPLACE_STYLES, CBCOL_SECOND, pOpt->bReplaceStyles );
- m_pCheckLB->SetUpdateMode(sal_True);
+ m_pCheckLB->SetUpdateMode(true);
}
IMPL_LINK(OfaSwAutoFmtOptionsPage, SelectHdl, OfaACorrCheckListBox*, pBox)
@@ -1030,7 +1030,7 @@ void OfaAutocorrReplacePage::RefillReplaceBox(sal_Bool bFromReset,
{
SvxAutoCorrect* pAutoCorrect = SvxAutoCorrCfg::Get().GetAutoCorrect();
SvxAutocorrWordList* pWordList = pAutoCorrect->LoadAutocorrWordList(eLang);
- m_pReplaceTLB->SetUpdateMode(sal_False);
+ m_pReplaceTLB->SetUpdateMode(false);
SvxAutocorrWordList::Content aContent = pWordList->getSortedContent();
for( SvxAutocorrWordList::Content::const_iterator it = aContent.begin();
it != aContent.end(); ++it )
@@ -1055,7 +1055,7 @@ void OfaAutocorrReplacePage::RefillReplaceBox(sal_Bool bFromReset,
}
m_pNewReplacePB->Enable(false);
m_pDeleteReplacePB->Enable(false);
- m_pReplaceTLB->SetUpdateMode(sal_True);
+ m_pReplaceTLB->SetUpdateMode(true);
}
SfxViewShell* pViewShell = SfxViewShell::Current();
@@ -1212,7 +1212,7 @@ IMPL_LINK(OfaAutocorrReplacePage, NewDelHdl, PushButton*, pBtn)
bool bKeepSourceFormatting = !bReplaceEditChanged && !m_pTextOnlyCB->IsChecked();
NewEntry(m_pShortED->GetText(), m_pReplaceED->GetText(), bKeepSourceFormatting);
- m_pReplaceTLB->SetUpdateMode(sal_False);
+ m_pReplaceTLB->SetUpdateMode(false);
sal_uLong nPos = TREELIST_ENTRY_NOTFOUND;
sEntry += "\t";
sEntry += m_pReplaceED->GetText();
@@ -1241,7 +1241,7 @@ IMPL_LINK(OfaAutocorrReplacePage, NewDelHdl, PushButton*, pBtn)
}
m_pReplaceTLB->MakeVisible( pInsEntry );
- m_pReplaceTLB->SetUpdateMode( sal_True );
+ m_pReplaceTLB->SetUpdateMode( true );
// if the request came from the ReplaceEdit, give focus to the ShortEdit
if(m_pReplaceED->HasFocus())
{
@@ -1302,7 +1302,7 @@ IMPL_LINK(OfaAutocorrReplacePage, ModifyHdl, Edit*, pEdt)
}
if( !bFound )
{
- m_pReplaceTLB->SelectAll( sal_False );
+ m_pReplaceTLB->SelectAll( false );
pFirstSel = 0;
m_pNewReplacePB->SetText( sNew );
if( bReplaceEditChanged )
@@ -1906,7 +1906,7 @@ void OfaQuoteTabPage::Reset( const SfxItemSet& )
{
SvxSwAutoFmtFlags *pOpt = &pAutoCorrect->GetSwFlags();
- m_pSwCheckLB->SetUpdateMode( sal_False );
+ m_pSwCheckLB->SetUpdateMode( false );
m_pSwCheckLB->Clear();
m_pSwCheckLB->GetModel()->Insert(CreateEntry(sNonBrkSpace, CBCOL_BOTH ));
@@ -1917,7 +1917,7 @@ void OfaQuoteTabPage::Reset( const SfxItemSet& )
m_pSwCheckLB->CheckEntryPos( REPLACE_1ST, CBCOL_FIRST, pOpt->bChgOrdinalNumber );
m_pSwCheckLB->CheckEntryPos( REPLACE_1ST, CBCOL_SECOND, 0 != (nFlags & ChgOrdinalNumber) );
- m_pSwCheckLB->SetUpdateMode( sal_True );
+ m_pSwCheckLB->SetUpdateMode( true );
}
// Initialize the non Sw options
diff --git a/cui/source/tabpages/macroass.cxx b/cui/source/tabpages/macroass.cxx
index 63bc895156ab..85d51c0e4588 100644
--- a/cui/source/tabpages/macroass.cxx
+++ b/cui/source/tabpages/macroass.cxx
@@ -336,7 +336,7 @@ IMPL_STATIC_LINK( _SfxMacroTabPage, AssignDeleteHdl_Impl, PushButton*, pBtn )
rListBox.GetModel()->InvalidateEntry( pE );
rListBox.Select( pE );
rListBox.MakeVisible( pE );
- rListBox.SetUpdateMode( sal_True );
+ rListBox.SetUpdateMode( true );
pThis->EnableButtons();
return 0;
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 871c47cdfcf0..4c380af2f37a 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -812,7 +812,7 @@ void SvxNumberFormatTabPage::FillFormatListBox_Impl( std::vector<OUString>& rEnt
short aPrivCat;
m_pLbFormat->Clear();
- m_pLbFormat->SetUpdateMode( sal_False );
+ m_pLbFormat->SetUpdateMode( false );
if( rEntries.empty() )
return;
@@ -862,7 +862,7 @@ void SvxNumberFormatTabPage::FillFormatListBox_Impl( std::vector<OUString>& rEnt
}
}
}
- m_pLbFormat->SetUpdateMode( sal_True );
+ m_pLbFormat->SetUpdateMode( true );
rEntries.clear();
}