diff options
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/chrdlg/swuiccoll.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/dbui/mmaddressblockpage.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/dbui/selectdbtabledialog.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/dialog/uiregionsw.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/fldui/flddinf.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/fldui/fldref.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/misc/glossary.cxx | 6 |
7 files changed, 14 insertions, 14 deletions
diff --git a/sw/source/ui/chrdlg/swuiccoll.cxx b/sw/source/ui/chrdlg/swuiccoll.cxx index 2cf644655bea..b391a0f15ecb 100644 --- a/sw/source/ui/chrdlg/swuiccoll.cxx +++ b/sw/source/ui/chrdlg/swuiccoll.cxx @@ -254,12 +254,12 @@ IMPL_LINK( SwCondCollPage, AssignRemoveHdl, PushButton*, pBtn) if ( bAssEnabled ) sSel += m_pStyleLB->GetSelectEntry(); - m_pTbLinks->SetUpdateMode(sal_False); + m_pTbLinks->SetUpdateMode(false); m_pTbLinks->GetModel()->Remove(pE); pE = m_pTbLinks->InsertEntryToColumn(sSel, nPos); m_pTbLinks->Select(pE); m_pTbLinks->MakeVisible(pE); - m_pTbLinks->SetUpdateMode(sal_True); + m_pTbLinks->SetUpdateMode(true); return 0; } diff --git a/sw/source/ui/dbui/mmaddressblockpage.cxx b/sw/source/ui/dbui/mmaddressblockpage.cxx index 3fc2b01c6d82..3ca25c94974c 100644 --- a/sw/source/ui/dbui/mmaddressblockpage.cxx +++ b/sw/source/ui/dbui/mmaddressblockpage.cxx @@ -1190,8 +1190,8 @@ DDListBox::DDListBox(Window* pParent, WinBits nStyle) SetStyle( GetStyle() | /*WB_HASBUTTONS|WB_HASBUTTONSATROOT|*/ WB_CLIPCHILDREN ); SetSelectionMode( SINGLE_SELECTION ); - SetDragDropMode( SV_DRAGDROP_CTRL_COPY ); - EnableAsyncDrag(sal_True); + SetDragDropMode( SV_DRAGDROP_CTRL_COPY ); + EnableAsyncDrag(true); // expand selection to the complete width of the ListBox SetHighlightRange(); Show(); diff --git a/sw/source/ui/dbui/selectdbtabledialog.cxx b/sw/source/ui/dbui/selectdbtabledialog.cxx index 0ea22ff059b0..7c50ac050ae6 100644 --- a/sw/source/ui/dbui/selectdbtabledialog.cxx +++ b/sw/source/ui/dbui/selectdbtabledialog.cxx @@ -88,8 +88,8 @@ SwSelectDBTableDialog::SwSelectDBTableDialog(Window* pParent, m_aTableLB.SetStyle( m_aTableLB.GetStyle() | WB_CLIPCHILDREN ); m_aTableLB.SetSpaceBetweenEntries(3); m_aTableLB.SetSelectionMode( SINGLE_SELECTION ); - m_aTableLB.SetDragDropMode( 0 ); - m_aTableLB.EnableAsyncDrag(sal_False); + m_aTableLB.SetDragDropMode( 0 ); + m_aTableLB.EnableAsyncDrag(false); m_aPreviewPB.SetClickHdl(LINK(this, SwSelectDBTableDialog, PreviewHdl)); diff --git a/sw/source/ui/dialog/uiregionsw.cxx b/sw/source/ui/dialog/uiregionsw.cxx index b2394e9ddc9e..0443390cbf3d 100644 --- a/sw/source/ui/dialog/uiregionsw.cxx +++ b/sw/source/ui/dialog/uiregionsw.cxx @@ -657,7 +657,7 @@ IMPL_LINK( SwEditRegionDlg, GetFirstEntryHdl, SvTreeListBox *, pBox ) if(!bPasswdValid) { pEntry = pBox->FirstSelected(); - pBox->SelectAll( sal_False ); + pBox->SelectAll( false ); pBox->Select( pEntry ); GetFirstEntryHdl(pBox); return 0; diff --git a/sw/source/ui/fldui/flddinf.cxx b/sw/source/ui/fldui/flddinf.cxx index 299f3b2fb2a0..372c6794ac63 100644 --- a/sw/source/ui/fldui/flddinf.cxx +++ b/sw/source/ui/fldui/flddinf.cxx @@ -94,7 +94,7 @@ void SwFldDokInfPage::Reset(const SfxItemSet& ) Init(); // general initialisation // initialise TypeListBox - m_pTypeTLB->SetUpdateMode(sal_False); + m_pTypeTLB->SetUpdateMode(false); m_pTypeTLB->Clear(); pSelEntry = 0; @@ -192,7 +192,7 @@ void SwFldDokInfPage::Reset(const SfxItemSet& ) if ( pSelEntry ) TypeHdl(); - m_pTypeTLB->SetUpdateMode(sal_True); + m_pTypeTLB->SetUpdateMode(true); m_pTypeTLB->SetSelectHdl(LINK(this, SwFldDokInfPage, TypeHdl)); m_pTypeTLB->SetDoubleClickHdl(LINK(this, SwFldDokInfPage, InsertHdl)); m_pSelectionLB->SetSelectHdl(LINK(this, SwFldDokInfPage, SubTypeHdl)); diff --git a/sw/source/ui/fldui/fldref.cxx b/sw/source/ui/fldui/fldref.cxx index 9236ef145cb0..0eb5cf156fb3 100644 --- a/sw/source/ui/fldui/fldref.cxx +++ b/sw/source/ui/fldui/fldref.cxx @@ -479,7 +479,7 @@ void SwFldRefPage::UpdateSubType() m_pSelectionLB->SetUpdateMode(false); m_pSelectionLB->Clear(); // #i83479# - m_pSelectionToolTipLB->SetUpdateMode(sal_False); + m_pSelectionToolTipLB->SetUpdateMode(false); m_pSelectionToolTipLB->Clear(); bool bShowSelectionToolTipLB( false ); @@ -632,7 +632,7 @@ void SwFldRefPage::UpdateSubType() m_pSelectionLB->Show( !bShowSelectionToolTipLB ); if ( bShowSelectionToolTipLB ) { - m_pSelectionToolTipLB->SetUpdateMode(sal_True); + m_pSelectionToolTipLB->SetUpdateMode(true); bool bEnable = m_pSelectionToolTipLB->GetEntryCount() != 0; m_pSelection->Enable( bEnable ); diff --git a/sw/source/ui/misc/glossary.cxx b/sw/source/ui/misc/glossary.cxx index 87e11099f8c3..eedcf5118dc0 100644 --- a/sw/source/ui/misc/glossary.cxx +++ b/sw/source/ui/misc/glossary.cxx @@ -664,7 +664,7 @@ IMPL_LINK_NOARG(SwGlossaryDlg, BibHdl) ------------------------------------------------------------------------*/ void SwGlossaryDlg::Init() { - m_pCategoryBox->SetUpdateMode( sal_False ); + m_pCategoryBox->SetUpdateMode( false ); m_pCategoryBox->Clear(); // display text block regions const sal_uInt16 nCnt = pGlossaryHdl->GetGroupCnt(); @@ -743,7 +743,7 @@ void SwGlossaryDlg::Init() m_pCategoryBox->Resize(); m_pCategoryBox->GetModel()->Resort(); - m_pCategoryBox->SetUpdateMode( sal_True ); + m_pCategoryBox->SetUpdateMode( true ); m_pCategoryBox->Update(); const SvxAutoCorrCfg& rCfg = SvxAutoCorrCfg::Get(); @@ -926,7 +926,7 @@ DragDropMode SwGlTreeListBox::NotifyStartDrag( return eRet; } -sal_Bool SwGlTreeListBox::NotifyAcceptDrop( SvTreeListEntry* pEntry) +bool SwGlTreeListBox::NotifyAcceptDrop( SvTreeListEntry* pEntry) { // TODO: Readonly - check still missing! SvTreeListEntry* pSrcParent = GetParent(pEntry) ? GetParent(pEntry) : pEntry; |