summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-19 15:40:53 +0200
committerNoel Grandin <noel@peralex.com>2014-02-21 12:19:21 +0200
commit327dde336ed3a318c08dd19894b0fd84c9a0eb57 (patch)
tree7c8e02f6cd07ed4f8c3e22f8226c1a08787aa646 /svx
parenta1d5ff63dbdae3406c81c4b2edcbb8d22112582b (diff)
editeng: sal_Bool->bool
Change-Id: Ib1113ebcfc523c8c97731debb2bf456a8c99d802
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdattr.cxx6
-rw-r--r--svx/source/table/tablecontroller.cxx2
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/svdraw/svdattr.cxx b/svx/source/svdraw/svdattr.cxx
index fdd4e4e69629..1654fa68790d 100644
--- a/svx/source/svdraw/svdattr.cxx
+++ b/svx/source/svdraw/svdattr.cxx
@@ -320,9 +320,9 @@ SdrItemPool::SdrItemPool(
SvxBoxInfoItem* pBoxInfoItem = new SvxBoxInfoItem( SDRATTR_TABLE_BORDER_INNER );
- pBoxInfoItem->SetTable( sal_True );
- pBoxInfoItem->SetDist( sal_True); // always show margin field
- pBoxInfoItem->SetValid( VALID_DISABLE, sal_True ); // some lines may have DontCare state only in tables
+ pBoxInfoItem->SetTable( true );
+ pBoxInfoItem->SetDist( true); // always show margin field
+ pBoxInfoItem->SetValid( VALID_DISABLE, true ); // some lines may have DontCare state only in tables
mppLocalPoolDefaults[ SDRATTR_TABLE_BORDER_INNER - SDRATTR_START ] = pBoxInfoItem;
mppLocalPoolDefaults[ SDRATTR_TABLE_BORDER_TLBR - SDRATTR_START ] = new SvxLineItem( SDRATTR_TABLE_BORDER_TLBR );
diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx
index b1f51a9532d6..cf1475d376ba 100644
--- a/svx/source/table/tablecontroller.cxx
+++ b/svx/source/table/tablecontroller.cxx
@@ -2775,7 +2775,7 @@ void SvxTableController::FillCommonBorderAttrFromSelectedCells( SvxBoxItem& rBox
const sal_Int32 nLastRow = std::min( aEnd.mnRow + 2, nRowCount );
const sal_Int32 nLastCol = std::min( aEnd.mnCol + 2, nColCount );
- rBoxInfoItem.SetValid( sal_uInt8( ~0 ), sal_False );
+ rBoxInfoItem.SetValid( sal_uInt8( ~0 ), false );
LinesState aLinesState( rBoxItem, rBoxInfoItem );
/* Here we go through all the selected cells (enhanced by
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 6ef5313364c6..7990834ab244 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -1452,8 +1452,8 @@ IMPL_LINK_NOARG(SvxFrameWindow_Impl, SelectHdl)
aBorderInner.SetValid( VALID_RIGHT, 0 != (nValidFlags&FRM_VALID_RIGHT ));
aBorderInner.SetValid( VALID_HORI, 0 != (nValidFlags&FRM_VALID_HINNER ));
aBorderInner.SetValid( VALID_VERT, 0 != (nValidFlags&FRM_VALID_VINNER));
- aBorderInner.SetValid( VALID_DISTANCE, sal_True );
- aBorderInner.SetValid( VALID_DISABLE, sal_False );
+ aBorderInner.SetValid( VALID_DISTANCE, true );
+ aBorderInner.SetValid( VALID_DISABLE, false );
if ( IsInPopupMode() )
EndPopupMode();