summaryrefslogtreecommitdiff
path: root/sw/source/ui/shells
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 /sw/source/ui/shells
parenta1d5ff63dbdae3406c81c4b2edcbb8d22112582b (diff)
editeng: sal_Bool->bool
Change-Id: Ib1113ebcfc523c8c97731debb2bf456a8c99d802
Diffstat (limited to 'sw/source/ui/shells')
-rw-r--r--sw/source/ui/shells/tabsh.cxx6
-rw-r--r--sw/source/ui/shells/textsh.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/shells/tabsh.cxx b/sw/source/ui/shells/tabsh.cxx
index d315be15c2f0..53b2d3a28ef6 100644
--- a/sw/source/ui/shells/tabsh.cxx
+++ b/sw/source/ui/shells/tabsh.cxx
@@ -181,7 +181,7 @@ static SwTableRep* lcl_TableParamToItemSet( SfxItemSet& rSet, SwWrtShell &rSh )
aBoxInfo.SetTable ((rSh.IsTableMode() && rSh.GetCrsrCnt() > 1) ||
!bTableSel);
// Always show distance field.
- aBoxInfo.SetDist ((sal_Bool) sal_True);
+ aBoxInfo.SetDist (true);
// Set minimum size in tables and paragraphs.
aBoxInfo.SetMinDist( !bTableSel || rSh.IsTableMode() ||
rSh.GetSelectionType() &
@@ -494,8 +494,8 @@ void SwTableShell::Execute(SfxRequest &rReq)
aInfo.SetWhich(SID_ATTR_BORDER_INNER);
}
- aInfo.SetTable( sal_True );
- aInfo.SetValid( VALID_DISABLE, sal_False );
+ aInfo.SetTable( true );
+ aInfo.SetValid( VALID_DISABLE, false );
// The attributes of all lines will be read and the strongest wins.
diff --git a/sw/source/ui/shells/textsh.cxx b/sw/source/ui/shells/textsh.cxx
index daa0b1c4f663..57314e0e8848 100644
--- a/sw/source/ui/shells/textsh.cxx
+++ b/sw/source/ui/shells/textsh.cxx
@@ -591,7 +591,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq)
// Delete minimum size in columns.
SvxBoxInfoItem aBoxInfo((SvxBoxInfoItem &)aSet.Get(SID_ATTR_BORDER_INNER));
const SvxBoxItem& rBox = (const SvxBoxItem&)aSet.Get(RES_BOX);
- aBoxInfo.SetMinDist(sal_False);
+ aBoxInfo.SetMinDist(false);
aBoxInfo.SetDefDist(rBox.GetDistance(BOX_LINE_LEFT));
aSet.Put(aBoxInfo);