diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/uibase/dbui/dbtree.cxx | 8 | ||||
-rw-r--r-- | sw/source/core/uibase/inc/conttree.hxx | 6 | ||||
-rw-r--r-- | sw/source/core/uibase/inc/glossary.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/uibase/misc/redlndlg.cxx | 16 | ||||
-rw-r--r-- | sw/source/core/uibase/utlui/content.cxx | 28 | ||||
-rw-r--r-- | sw/source/core/uibase/utlui/glbltree.cxx | 22 | ||||
-rw-r--r-- | sw/source/core/uibase/utlui/navipi.cxx | 6 | ||||
-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 |
14 files changed, 58 insertions, 58 deletions
diff --git a/sw/source/core/uibase/dbui/dbtree.cxx b/sw/source/core/uibase/dbui/dbtree.cxx index 7eb15a02c677..9f240d9aa40a 100644 --- a/sw/source/core/uibase/dbui/dbtree.cxx +++ b/sw/source/core/uibase/dbui/dbtree.cxx @@ -222,7 +222,7 @@ void SwDBTreeList::InitTreeList() for(long i = 0; i < nCount; i++) { OUString sDBName(pDBNames[i]); - InsertEntry(sDBName, aImg, aImg, NULL, sal_True); + InsertEntry(sDBName, aImg, aImg, NULL, true); } OUString sDBName(sDefDBName.getToken(0, DB_DELIM)); OUString sTableName(sDefDBName.getToken(1, DB_DELIM)); @@ -235,7 +235,7 @@ void SwDBTreeList::InitTreeList() void SwDBTreeList::AddDataSource(const OUString& rSource) { Image aImg = aImageList.GetImage(IMG_DB); - SvTreeListEntry* pEntry = InsertEntry(rSource, aImg, aImg, NULL, sal_True); + SvTreeListEntry* pEntry = InsertEntry(rSource, aImg, aImg, NULL, true); SvTreeListBox::Select(pEntry); } @@ -248,7 +248,7 @@ void SwDBTreeList::ShowColumns(sal_Bool bShowCol) OUString sColumnName; const OUString sDBName(GetDBName(sTableName, sColumnName)); - SetUpdateMode(sal_False); + SetUpdateMode(false); SvTreeListEntry* pEntry = First(); @@ -268,7 +268,7 @@ void SwDBTreeList::ShowColumns(sal_Bool bShowCol) { Select(sDBName, sTableName, sColumnName); // force RequestingChildren } - SetUpdateMode(sal_True); + SetUpdateMode(true); } } diff --git a/sw/source/core/uibase/inc/conttree.hxx b/sw/source/core/uibase/inc/conttree.hxx index d51152a344e7..11d39b9db697 100644 --- a/sw/source/core/uibase/inc/conttree.hxx +++ b/sw/source/core/uibase/inc/conttree.hxx @@ -116,7 +116,7 @@ protected: virtual DragDropMode NotifyStartDrag( TransferDataContainer& rData, SvTreeListEntry* ); - virtual sal_Bool NotifyAcceptDrop( SvTreeListEntry* ); + virtual bool NotifyAcceptDrop( SvTreeListEntry* ); virtual sal_Bool NotifyMoving( SvTreeListEntry* pTarget, SvTreeListEntry* pEntry, @@ -194,7 +194,7 @@ public: virtual void GetFocus(); virtual void KeyInput(const KeyEvent& rKEvt); - virtual sal_Bool Select( SvTreeListEntry* pEntry, sal_Bool bSelect=sal_True ); + virtual bool Select( SvTreeListEntry* pEntry, bool bSelect=true ); virtual sal_Int32 GetEntryRealChildrenNum( SvTreeListEntry* pEntry ) const; }; @@ -275,7 +275,7 @@ protected: virtual void DragFinished( sal_Int8 ); virtual DragDropMode NotifyStartDrag( TransferDataContainer& rData, SvTreeListEntry* ); - virtual sal_Bool NotifyAcceptDrop( SvTreeListEntry* ); + virtual bool NotifyAcceptDrop( SvTreeListEntry* ); virtual void MouseButtonDown( const MouseEvent& rMEvt ); virtual void KeyInput(const KeyEvent& rKEvt); diff --git a/sw/source/core/uibase/inc/glossary.hxx b/sw/source/core/uibase/inc/glossary.hxx index 98f441620528..2e343a329bab 100644 --- a/sw/source/core/uibase/inc/glossary.hxx +++ b/sw/source/core/uibase/inc/glossary.hxx @@ -59,7 +59,7 @@ class SwGlTreeListBox : public SvTreeListBox virtual DragDropMode NotifyStartDrag( TransferDataContainer& rContainer, SvTreeListEntry* ); - virtual sal_Bool NotifyAcceptDrop( SvTreeListEntry* ); + virtual bool NotifyAcceptDrop( SvTreeListEntry* ); virtual sal_Bool NotifyMoving( SvTreeListEntry* pTarget, SvTreeListEntry* pEntry, diff --git a/sw/source/core/uibase/misc/redlndlg.cxx b/sw/source/core/uibase/misc/redlndlg.cxx index ebb8b6ee8853..7497e3f2e56c 100644 --- a/sw/source/core/uibase/misc/redlndlg.cxx +++ b/sw/source/core/uibase/misc/redlndlg.cxx @@ -222,7 +222,7 @@ SwRedlineAcceptDlg::~SwRedlineAcceptDlg() void SwRedlineAcceptDlg::Init(sal_uInt16 nStart) { SwWait aWait( *::GetActiveView()->GetDocShell(), false ); - pTable->SetUpdateMode(sal_False); + pTable->SetUpdateMode(false); aUsedSeqNo.clear(); if (nStart) @@ -238,11 +238,11 @@ void SwRedlineAcceptDlg::Init(sal_uInt16 nStart) InsertParents(nStart); InitAuthors(); - pTable->SetUpdateMode(sal_True); + pTable->SetUpdateMode(true); // #i69618# this moves the list box to the right position, visually SvTreeListEntry* pSelEntry = pTable->FirstSelected(); if( pSelEntry ) - pTable->MakeVisible( pSelEntry, sal_True ); //#i70937#, force the scroll + pTable->MakeVisible( pSelEntry, true ); //#i70937#, force the scroll } void SwRedlineAcceptDlg::InitAuthors() @@ -455,7 +455,7 @@ sal_uInt16 SwRedlineAcceptDlg::CalcDiff(sal_uInt16 nStart, sal_Bool bChild) return USHRT_MAX; } - pTable->SetUpdateMode(sal_False); + pTable->SetUpdateMode(false); SwView *pView = ::GetActiveView(); SwWrtShell* pSh = pView->GetWrtShellPtr(); sal_uInt16 nAutoFmt = HasRedlineAutoFmt() ? nsRedlineType_t::REDLINE_FORM_AUTOFMT : 0; @@ -488,7 +488,7 @@ sal_uInt16 SwRedlineAcceptDlg::CalcDiff(sal_uInt16 nStart, sal_Bool bChild) // insert new children InsertChildren(pParent, rRedln, nAutoFmt); - pTable->SetUpdateMode(sal_True); + pTable->SetUpdateMode(true); return nStart; } @@ -501,7 +501,7 @@ sal_uInt16 SwRedlineAcceptDlg::CalcDiff(sal_uInt16 nStart, sal_Bool bChild) { // remove entries from nStart to i-1 RemoveParents(nStart, i - 1); - pTable->SetUpdateMode(sal_True); + pTable->SetUpdateMode(true); return nStart - 1; } } @@ -516,12 +516,12 @@ sal_uInt16 SwRedlineAcceptDlg::CalcDiff(sal_uInt16 nStart, sal_Bool bChild) { // insert entries from nStart to i-1 InsertParents(nStart, i - 1); - pTable->SetUpdateMode(sal_True); + pTable->SetUpdateMode(true); return nStart - 1; } } - pTable->SetUpdateMode(sal_True); + pTable->SetUpdateMode(true); Init(nStart); // adjust all entries until the end return USHRT_MAX; } diff --git a/sw/source/core/uibase/utlui/content.cxx b/sw/source/core/uibase/utlui/content.cxx index 2204074ce791..735ad8863416 100644 --- a/sw/source/core/uibase/utlui/content.cxx +++ b/sw/source/core/uibase/utlui/content.cxx @@ -1334,13 +1334,13 @@ void SwContentTree::RequestingChildren( SvTreeListEntry* pParent ) sEntry = sSpace; if(!pChild || (nLevel == 0)) pChild = InsertEntry(sEntry, pParent, - sal_False, TREELIST_APPEND,(void*)pCnt); + false, TREELIST_APPEND,(void*)pCnt); else { //back search parent. if(((SwOutlineContent*)pCntType->GetMember(i-1))->GetOutlineLevel() < nLevel) pChild = InsertEntry(sEntry, pChild, - sal_False, TREELIST_APPEND, (void*)pCnt); + false, TREELIST_APPEND, (void*)pCnt); else { pChild = Prev(pChild); @@ -1353,7 +1353,7 @@ void SwContentTree::RequestingChildren( SvTreeListEntry* pParent ) } if(pChild) pChild = InsertEntry(sEntry, pChild, - sal_False, TREELIST_APPEND, (void*)pCnt); + false, TREELIST_APPEND, (void*)pCnt); } } } @@ -1370,7 +1370,7 @@ void SwContentTree::RequestingChildren( SvTreeListEntry* pParent ) if (sEntry.isEmpty()) sEntry = sSpace; SvTreeListEntry* pChild = InsertEntry(sEntry, pParent, - sal_False, TREELIST_APPEND, (void*)pCnt); + false, TREELIST_APPEND, (void*)pCnt); //If object is marked , the corresponding entry is set true, //else the corresponding entry is set false . @@ -1601,7 +1601,7 @@ void SwContentTree::Display( bool bActive ) } } Clear(); - SetUpdateMode( sal_False ); + SetUpdateMode( false ); if(bActive && !bIsConstant && !bIsActive) bIsActive = bActive; bIsHidden = !bActive; @@ -1688,7 +1688,7 @@ void SwContentTree::Display( bool bActive ) const Image& rImage = aEntryImages.GetImage(20000 + nRootType); SvTreeListEntry* pParent = InsertEntry( (*ppRootContentT)->GetName(), rImage, rImage, - 0, sal_False, TREELIST_APPEND, *ppRootContentT); + 0, false, TREELIST_APPEND, *ppRootContentT); if(nRootType != CONTENT_TYPE_OUTLINE) { @@ -1701,7 +1701,7 @@ void SwContentTree::Display( bool bActive ) if(sEntry.isEmpty()) sEntry = sSpace; InsertEntry( sEntry, pParent, - sal_False, TREELIST_APPEND, (void*)pCnt); + false, TREELIST_APPEND, (void*)pCnt); } } } @@ -1752,7 +1752,7 @@ void SwContentTree::Display( bool bActive ) } } } - SetUpdateMode( sal_True ); + SetUpdateMode( true ); ScrollBar* pVScroll = GetVScroll(); if(GetEntryCount() == nOldEntryCount && nOldScrollPos && pVScroll && pVScroll->IsVisible() @@ -1768,9 +1768,9 @@ void SwContentTree::Display( bool bActive ) void SwContentTree::Clear() { - SetUpdateMode(sal_False); + SetUpdateMode(false); SvTreeListBox::Clear(); - SetUpdateMode(sal_True); + SetUpdateMode(true); } bool SwContentTree::FillTransferData( TransferDataContainer& rTransfer, @@ -2556,7 +2556,7 @@ sal_Bool SwContentTree::NotifyCopying( SvTreeListEntry* pTarget, // No drop before the first entry - it's a SwContentType -sal_Bool SwContentTree::NotifyAcceptDrop( SvTreeListEntry* pEntry) +bool SwContentTree::NotifyAcceptDrop( SvTreeListEntry* pEntry) { return pEntry != 0; } @@ -2567,7 +2567,7 @@ sal_Bool SwContentTree::NotifyAcceptDrop( SvTreeListEntry* pEntry) void SwContentTree::MouseButtonDown( const MouseEvent& rMEvt ) { Point aPos( rMEvt.GetPosPixel()); - SvTreeListEntry* pEntry = GetEntry( aPos, sal_True ); + SvTreeListEntry* pEntry = GetEntry( aPos, true ); if( !pEntry && rMEvt.IsLeft() && rMEvt.IsMod1() && (rMEvt.GetClicks() % 2) == 0) Control::MouseButtonDown( rMEvt ); else @@ -3008,10 +3008,10 @@ void SwContentTree::ShowActualView() // Here are the buttons for moving outlines are en-/disabled. -sal_Bool SwContentTree::Select( SvTreeListEntry* pEntry, sal_Bool bSelect ) +bool SwContentTree::Select( SvTreeListEntry* pEntry, bool bSelect ) { if(!pEntry) - return sal_False; + return false; sal_Bool bEnable = sal_False; SvTreeListEntry* pParentEntry = GetParent(pEntry); while(pParentEntry && (!lcl_IsContentType(pParentEntry))) diff --git a/sw/source/core/uibase/utlui/glbltree.cxx b/sw/source/core/uibase/utlui/glbltree.cxx index 43d6667e3f48..259eef188958 100644 --- a/sw/source/core/uibase/utlui/glbltree.cxx +++ b/sw/source/core/uibase/utlui/glbltree.cxx @@ -189,12 +189,12 @@ sal_Int8 SwGlobalTree::ExecuteDrop( const ExecuteDropEvent& rEvt ) SvTreeListEntry* pLast = (SvTreeListEntry*)LastVisible(); if(pEmphasisEntry) { - ImplShowTargetEmphasis( Prev(pEmphasisEntry), sal_False ); + ImplShowTargetEmphasis( Prev(pEmphasisEntry), false ); pEmphasisEntry = 0; } else if(bLastEntryEmphasis && pLast) { - ImplShowTargetEmphasis( pLast, sal_False); + ImplShowTargetEmphasis( pLast, false); } SvTreeListEntry* pDropEntry = bLastEntryEmphasis ? 0 : GetEntry(rEvt.maPosPixel); @@ -273,12 +273,12 @@ sal_Int8 SwGlobalTree::AcceptDrop( const AcceptDropEvent& rEvt ) { if( pEmphasisEntry ) { - ImplShowTargetEmphasis( Prev(pEmphasisEntry), sal_False ); + ImplShowTargetEmphasis( Prev(pEmphasisEntry), false ); pEmphasisEntry = 0; } else if(bLastEntryEmphasis && pLast) { - ImplShowTargetEmphasis( pLast, sal_False); + ImplShowTargetEmphasis( pLast, false); } bLastEntryEmphasis = false; } @@ -302,10 +302,10 @@ sal_Int8 SwGlobalTree::AcceptDrop( const AcceptDropEvent& rEvt ) nRet = DND_ACTION_LINK; if(pEmphasisEntry && pEmphasisEntry != pDropEntry) - ImplShowTargetEmphasis( Prev(pEmphasisEntry), sal_False ); + ImplShowTargetEmphasis( Prev(pEmphasisEntry), false ); else if(pLast && bLastEntryEmphasis && pDropEntry) { - ImplShowTargetEmphasis( pLast, sal_False); + ImplShowTargetEmphasis( pLast, false); bLastEntryEmphasis = false; } @@ -559,7 +559,7 @@ sal_Bool SwGlobalTree::NotifyCopying( SvTreeListEntry* /*pTarget*/, return sal_False; } -sal_Bool SwGlobalTree::NotifyAcceptDrop( SvTreeListEntry* pEntry) +bool SwGlobalTree::NotifyAcceptDrop( SvTreeListEntry* pEntry) { return pEntry != 0; } @@ -582,7 +582,7 @@ void SwGlobalTree::DragFinished( sal_Int8 nAction ) void SwGlobalTree::MouseButtonDown( const MouseEvent& rMEvt ) { Point aPos( rMEvt.GetPosPixel()); - SvTreeListEntry* pEntry = GetEntry( aPos, sal_True ); + SvTreeListEntry* pEntry = GetEntry( aPos, true ); if( !pEntry && rMEvt.IsLeft() && rMEvt.IsMod1() && (rMEvt.GetClicks() % 2) == 0) Control::MouseButtonDown( rMEvt ); else @@ -639,7 +639,7 @@ void SwGlobalTree::Display(bool bOnlyUpdateUserData) } else { - SetUpdateMode( sal_False ); + SetUpdateMode( false ); SvTreeListEntry* pOldSelEntry = FirstSelected(); OUString sEntryName; // Name of the entry sal_uLong nSelPos = TREELIST_ENTRY_NOTFOUND; @@ -682,7 +682,7 @@ void SwGlobalTree::Display(bool bOnlyUpdateUserData) break; } SvTreeListEntry* pEntry = InsertEntry(sEntry, aImage, aImage, - 0, sal_False, TREELIST_APPEND, pCont); + 0, false, TREELIST_APPEND, pCont); if(sEntry == sEntryName) { pSelEntry = pEntry; @@ -700,7 +700,7 @@ void SwGlobalTree::Display(bool bOnlyUpdateUserData) Select(First()); else SelectHdl(); - SetUpdateMode( sal_True ); + SetUpdateMode( true ); } } diff --git a/sw/source/core/uibase/utlui/navipi.cxx b/sw/source/core/uibase/utlui/navipi.cxx index 53e2c67c9d64..0bc04f1193fd 100644 --- a/sw/source/core/uibase/utlui/navipi.cxx +++ b/sw/source/core/uibase/utlui/navipi.cxx @@ -563,7 +563,7 @@ void SwNavigationPI::_ZoomOut() } SvTreeListEntry* pFirst = aContentTree.FirstSelected(); if(pFirst) - aContentTree.Select(pFirst, sal_True); // Enable toolbox + aContentTree.Select(pFirst, true); // Enable toolbox pConfig->SetSmall( sal_False ); aContentToolBox.CheckItem(FN_SHOW_CONTENT_BOX); } @@ -592,7 +592,7 @@ void SwNavigationPI::_ZoomIn() pFloat->SetOutputSizePixel(aSz); SvTreeListEntry* pFirst = aContentTree.FirstSelected(); if(pFirst) - aContentTree.Select(pFirst, sal_True); // Enable toolbox + aContentTree.Select(pFirst, true); // Enable toolbox pConfig->SetSmall( sal_True ); aContentToolBox.CheckItem(FN_SHOW_CONTENT_BOX, false); } @@ -776,7 +776,7 @@ SwNavigationPI::SwNavigationPI( SfxBindings* _pBindings, aContentTree.SetDragDropMode( SV_DRAGDROP_CTRL_MOVE | SV_DRAGDROP_CTRL_COPY | SV_DRAGDROP_ENABLE_TOP ); - aContentTree.EnableAsyncDrag(sal_True); + aContentTree.EnableAsyncDrag(true); aContentTree.ShowTree(); aContentToolBox.CheckItem(FN_SHOW_CONTENT_BOX, true); 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; |