diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-05 16:23:36 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-11 08:18:20 +0200 |
commit | aaee84c4c865ee121de6d9110c27d51c90dc936b (patch) | |
tree | d742fce3620d867f949784a425e1c003d2d4d240 /sw | |
parent | 37a2ed040e0e11ecef115d8955e09845aeff7511 (diff) |
svx: sal_Bool->bool
Change-Id: I26a7bded5138d646c67ae396690659ee13ba9f36
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/uibase/ribbar/inputwin.cxx | 8 | ||||
-rw-r--r-- | sw/source/core/uibase/uiview/view.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/uibase/uiview/view1.cxx | 8 | ||||
-rw-r--r-- | sw/source/core/uibase/uiview/viewtab.cxx | 9 |
4 files changed, 14 insertions, 15 deletions
diff --git a/sw/source/core/uibase/ribbar/inputwin.cxx b/sw/source/core/uibase/ribbar/inputwin.cxx index aa1f46ab5598..503c1274dbdc 100644 --- a/sw/source/core/uibase/ribbar/inputwin.cxx +++ b/sw/source/core/uibase/ribbar/inputwin.cxx @@ -132,8 +132,8 @@ SwInputWindow::~SwInputWindow() // wake rulers if(pView) { - pView->GetHRuler().SetActive( sal_True ); - pView->GetVRuler().SetActive( sal_True ); + pView->GetHRuler().SetActive( true ); + pView->GetVRuler().SetActive( true ); } delete pMgr; if(pWrtShell) @@ -193,8 +193,8 @@ void SwInputWindow::ShowWin() // stop rulers if(pView) { - pView->GetHRuler().SetActive( sal_False ); - pView->GetVRuler().SetActive( sal_False ); + pView->GetHRuler().SetActive( false ); + pView->GetVRuler().SetActive( false ); OSL_ENSURE(pWrtShell, "no WrtShell!"); // Cursor in table diff --git a/sw/source/core/uibase/uiview/view.cxx b/sw/source/core/uibase/uiview/view.cxx index 868ae5d5e18b..e2d60dd2eac8 100644 --- a/sw/source/core/uibase/uiview/view.cxx +++ b/sw/source/core/uibase/uiview/view.cxx @@ -877,8 +877,8 @@ SwView::SwView( SfxViewFrame *_pFrame, SfxViewShell* pOldSh ) bool bOld = bNoInterrupt; bNoInterrupt = true; - m_pHRuler->SetActive( sal_True ); - m_pVRuler->SetActive( sal_True ); + m_pHRuler->SetActive( true ); + m_pVRuler->SetActive( true ); SfxViewFrame* pViewFrame = GetViewFrame(); if( pViewFrame->GetFrame().GetParentFrame()) diff --git a/sw/source/core/uibase/uiview/view1.cxx b/sw/source/core/uibase/uiview/view1.cxx index 40e001c6fa4f..14a3c1c4f601 100644 --- a/sw/source/core/uibase/uiview/view1.cxx +++ b/sw/source/core/uibase/uiview/view1.cxx @@ -67,8 +67,8 @@ void SwView::Activate(sal_Bool bMDIActivate) m_pWrtShell->MakeSelVisible(); m_bMakeSelectionVisible = sal_False; } - m_pHRuler->SetActive( sal_True ); - m_pVRuler->SetActive( sal_True ); + m_pHRuler->SetActive( true ); + m_pVRuler->SetActive( true ); if ( bMDIActivate ) { @@ -126,8 +126,8 @@ void SwView::Deactivate(sal_Bool bMDIActivate) { m_pWrtShell->ShLooseFcs(); // Selections invisible - m_pHRuler->SetActive( sal_False ); - m_pVRuler->SetActive( sal_False ); + m_pHRuler->SetActive( false ); + m_pVRuler->SetActive( false ); } SfxViewShell::Deactivate(bMDIActivate); } diff --git a/sw/source/core/uibase/uiview/viewtab.cxx b/sw/source/core/uibase/uiview/viewtab.cxx index e0bc61098195..997425b1b91f 100644 --- a/sw/source/core/uibase/uiview/viewtab.cxx +++ b/sw/source/core/uibase/uiview/viewtab.cxx @@ -92,7 +92,7 @@ static void lcl_FillSvxColumn(const SwFmtCol& rCol, nWidth = static_cast< sal_uInt16 >(nWidth + rCol.CalcColWidth(i, nTotalWidth)); const sal_uInt16 nEnd = sal_uInt16(nWidth - pCol->GetRight() + nDistance); - SvxColumnDescription aColDesc(nStart, nEnd, sal_True); + SvxColumnDescription aColDesc(nStart, nEnd, true); rColItem.Append(aColDesc); } } @@ -1478,7 +1478,7 @@ void SwView::StateTabWin(SfxItemSet& rSet) nStart = nEnd; } SvxColumnDescription aColDesc(nStart, - aTabCols.GetRight() - aTabCols.GetLeft(), sal_True); + aTabCols.GetRight() - aTabCols.GetLeft(), true); aColItem.Append(aColDesc); } else @@ -1494,8 +1494,7 @@ void SwView::StateTabWin(SfxItemSet& rSet) nStart = nEnd; } SvxColumnDescription aColDesc(nStart, aTabCols.GetRight() - aTabCols.GetLeft(), - 0, 0, - sal_True); + 0, 0, true); aColItem.Append(aColDesc); } rSet.Put(aColItem, nWhich); @@ -1730,7 +1729,7 @@ void SwView::StateTabWin(SfxItemSet& rSet) SvxColumnDescription aColDesc( nStart, nEnd, aTabCols.GetRight(), aTabCols.GetRight(), - sal_False ); + false ); aColItem.Append(aColDesc); rSet.Put(aColItem, nWhich); |