diff options
author | Rodolfo Ribeiro Gomes <rodolforg@gmail.com> | 2013-10-28 21:15:56 -0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-10-29 00:50:06 +0000 |
commit | 8a82cacc668268be2fd5471fe4357d52c4372241 (patch) | |
tree | ca0c48828464026ebd1bf91b9c89d5e783dbb21c /sc/source/ui/view/colrowba.cxx | |
parent | 943a03a4ee593699ae3ca3dc405c4e271ad949e9 (diff) |
sal_Bool to bool in ScHeaderControl
Change-Id: I8f5b9207f5634e3ff2c55d7cf9372c8caad0ed23
Reviewed-on: https://gerrit.libreoffice.org/6471
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/source/ui/view/colrowba.cxx')
-rw-r--r-- | sc/source/ui/view/colrowba.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sc/source/ui/view/colrowba.cxx b/sc/source/ui/view/colrowba.cxx index 0c2f35133a32..731c79b74247 100644 --- a/sc/source/ui/view/colrowba.cxx +++ b/sc/source/ui/view/colrowba.cxx @@ -69,7 +69,7 @@ ScColBar::~ScColBar() { } -inline sal_Bool ScColBar::UseNumericHeader() const +inline bool ScColBar::UseNumericHeader() const { return pViewData->GetDocument()->GetAddressConvention() == formula::FormulaGrammar::CONV_XL_R1C1; } @@ -156,7 +156,7 @@ void ScColBar::HideEntries( SCCOLROW nStart, SCCOLROW nEnd ) pViewData->GetView()->SetWidthOrHeight( sal_True, 1, nRange, SC_SIZE_DIRECT, 0 ); } -void ScColBar::SetMarking( sal_Bool bSet ) +void ScColBar::SetMarking( bool bSet ) { pViewData->GetMarkData().SetMarking( bSet ); if (!bSet) @@ -191,13 +191,13 @@ void ScColBar::SelectWindow() pViewSh->ActiveGrabFocus(); } -sal_Bool ScColBar::IsDisabled() +bool ScColBar::IsDisabled() { ScModule* pScMod = SC_MOD(); return pScMod->IsFormulaMode() || pScMod->IsModalMode(); } -sal_Bool ScColBar::ResizeAllowed() +bool ScColBar::ResizeAllowed() { return !pViewData->HasEditView( pViewData->GetActivePart() ); } @@ -217,7 +217,7 @@ OUString ScColBar::GetDragHelp( long nVal ) return lcl_MetricString( nTwips, ScGlobal::GetRscString(STR_TIP_WIDTH) ); } -sal_Bool ScColBar::IsLayoutRTL() // overloaded only for columns +bool ScColBar::IsLayoutRTL() // overloaded only for columns { return pViewData->GetDocument()->IsLayoutRTL( pViewData->GetTabNo() ); } @@ -320,7 +320,7 @@ void ScRowBar::HideEntries( SCCOLROW nStart, SCCOLROW nEnd ) pViewData->GetView()->SetWidthOrHeight( false, 1, nRange, SC_SIZE_DIRECT, 0 ); } -void ScRowBar::SetMarking( sal_Bool bSet ) +void ScRowBar::SetMarking( bool bSet ) { pViewData->GetMarkData().SetMarking( bSet ); if (!bSet) @@ -355,13 +355,13 @@ void ScRowBar::SelectWindow() pViewSh->ActiveGrabFocus(); } -sal_Bool ScRowBar::IsDisabled() +bool ScRowBar::IsDisabled() { ScModule* pScMod = SC_MOD(); return pScMod->IsFormulaMode() || pScMod->IsModalMode(); } -sal_Bool ScRowBar::ResizeAllowed() +bool ScRowBar::ResizeAllowed() { return !pViewData->HasEditView( pViewData->GetActivePart() ); } @@ -388,7 +388,7 @@ SCROW ScRowBar::GetHiddenCount( SCROW nEntryNo ) // overloaded only for rows return pDoc->GetHiddenRowCount( nEntryNo, nTab ); } -sal_Bool ScRowBar::IsMirrored() // overloaded only for rows +bool ScRowBar::IsMirrored() // overloaded only for rows { return pViewData->GetDocument()->IsLayoutRTL( pViewData->GetTabNo() ); } |