diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-19 15:40:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-21 12:19:21 +0200 |
commit | 327dde336ed3a318c08dd19894b0fd84c9a0eb57 (patch) | |
tree | 7c8e02f6cd07ed4f8c3e22f8226c1a08787aa646 /sc/source | |
parent | a1d5ff63dbdae3406c81c4b2edcbb8d22112582b (diff) |
editeng: sal_Bool->bool
Change-Id: Ib1113ebcfc523c8c97731debb2bf456a8c99d802
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/data/docpool.cxx | 4 | ||||
-rw-r--r-- | sc/source/core/data/stlpool.cxx | 12 | ||||
-rw-r--r-- | sc/source/core/data/stlsheet.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/unoobj/cellsuno.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/unoobj/styleuno.cxx | 4 |
5 files changed, 13 insertions, 13 deletions
diff --git a/sc/source/core/data/docpool.cxx b/sc/source/core/data/docpool.cxx index 33b196a70e09..1990b2db7dc1 100644 --- a/sc/source/core/data/docpool.cxx +++ b/sc/source/core/data/docpool.cxx @@ -220,8 +220,8 @@ ScDocumentPool::ScDocumentPool( SfxItemPool* pSecPool) pGlobalBorderInnerAttr->SetLine(NULL, BOXINFO_LINE_HORI); pGlobalBorderInnerAttr->SetLine(NULL, BOXINFO_LINE_VERT); - pGlobalBorderInnerAttr->SetTable(sal_True); - pGlobalBorderInnerAttr->SetDist(sal_True); + pGlobalBorderInnerAttr->SetTable(true); + pGlobalBorderInnerAttr->SetDist(true); pGlobalBorderInnerAttr->SetMinDist(false); ppPoolDefaults = new SfxPoolItem*[ATTR_ENDINDEX-ATTR_STARTINDEX+1]; diff --git a/sc/source/core/data/stlpool.cxx b/sc/source/core/data/stlpool.cxx index 004e2bfb6425..9d4a4262b31e 100644 --- a/sc/source/core/data/stlpool.cxx +++ b/sc/source/core/data/stlpool.cxx @@ -415,13 +415,13 @@ void ScStyleSheetPool::CreateStandardStyles() aBoxItem.SetLine( &aBorderLine, BOX_LINE_LEFT ); aBoxItem.SetLine( &aBorderLine, BOX_LINE_RIGHT ); aBoxItem.SetDistance( 10 ); // 0.2mm - aBoxInfoItem.SetValid( VALID_TOP, sal_True ); - aBoxInfoItem.SetValid( VALID_BOTTOM, sal_True ); - aBoxInfoItem.SetValid( VALID_LEFT, sal_True ); - aBoxInfoItem.SetValid( VALID_RIGHT, sal_True ); - aBoxInfoItem.SetValid( VALID_DISTANCE, sal_True ); + aBoxInfoItem.SetValid( VALID_TOP, true ); + aBoxInfoItem.SetValid( VALID_BOTTOM, true ); + aBoxInfoItem.SetValid( VALID_LEFT, true ); + aBoxInfoItem.SetValid( VALID_RIGHT, true ); + aBoxInfoItem.SetValid( VALID_DISTANCE, true ); aBoxInfoItem.SetTable( false ); - aBoxInfoItem.SetDist ( sal_True ); + aBoxInfoItem.SetDist ( true ); pHFSetItem = new SvxSetItem( ((SvxSetItem&)pSet->Get( ATTR_PAGE_HEADERSET ) ) ); pHFSet = &(pHFSetItem->GetItemSet()); diff --git a/sc/source/core/data/stlsheet.cxx b/sc/source/core/data/stlsheet.cxx index 33e6fd05b477..04322d84824b 100644 --- a/sc/source/core/data/stlsheet.cxx +++ b/sc/source/core/data/stlsheet.cxx @@ -194,8 +194,8 @@ SfxItemSet& ScStyleSheet::GetItemSet() SvxBoxInfoItem aBoxInfoItem( ATTR_BORDER_INNER ); aBoxInfoItem.SetTable( false ); - aBoxInfoItem.SetDist( sal_True ); - aBoxInfoItem.SetValid( VALID_DISTANCE, sal_True ); + aBoxInfoItem.SetDist( true ); + aBoxInfoItem.SetValid( VALID_DISTANCE, true ); aPageItem.SetLandscape( false ); diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index b74de1228399..5887874e2938 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -984,7 +984,7 @@ void lcl_fillBoxItems( SvxBoxItem& rOuter, SvxBoxInfoItem& rInner, const TableBo rInner.SetValid( VALID_HORI, rBorder.IsHorizontalLineValid ); rInner.SetValid( VALID_VERT, rBorder.IsVerticalLineValid ); rInner.SetValid( VALID_DISTANCE, rBorder.IsDistanceValid ); - rInner.SetTable( sal_True ); + rInner.SetTable( true ); } } diff --git a/sc/source/ui/unoobj/styleuno.cxx b/sc/source/ui/unoobj/styleuno.cxx index f3162fcb8e3d..c6404248073e 100644 --- a/sc/source/ui/unoobj/styleuno.cxx +++ b/sc/source/ui/unoobj/styleuno.cxx @@ -1464,8 +1464,8 @@ void SAL_CALL ScStyleObj::setAllPropertiesToDefault() // (same content as in ScStyleSheet::GetItemSet, to control the dialog) SvxBoxInfoItem aBoxInfoItem( ATTR_BORDER_INNER ); aBoxInfoItem.SetTable( false ); - aBoxInfoItem.SetDist( sal_True ); - aBoxInfoItem.SetValid( VALID_DISTANCE, sal_True ); + aBoxInfoItem.SetDist( true ); + aBoxInfoItem.SetValid( VALID_DISTANCE, true ); rSet.Put( aBoxInfoItem ); pDocShell->PageStyleModified( aStyleName, true ); |