summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-05 16:01:17 +0200
committerNoel Grandin <noel@peralex.com>2014-03-11 08:18:20 +0200
commit37a2ed040e0e11ecef115d8955e09845aeff7511 (patch)
tree6387f7f6d66e0e02f79b1e8bc604ba7832249d4e /sw
parenteeae5cf0432adb83e5e948a217020b776144d783 (diff)
svx: sal_Bool->bool
Change-Id: I7e7bdce5c3ddb7871b9c1fbfe93dc7f7c254f1bb
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/uibase/frmdlg/colex.cxx16
-rw-r--r--sw/source/core/uibase/inc/colex.hxx8
-rw-r--r--sw/source/ui/dialog/uiregionsw.cxx2
3 files changed, 13 insertions, 13 deletions
diff --git a/sw/source/core/uibase/frmdlg/colex.cxx b/sw/source/core/uibase/frmdlg/colex.cxx
index 3137ec7565c5..10864e64c934 100644
--- a/sw/source/core/uibase/frmdlg/colex.cxx
+++ b/sw/source/core/uibase/frmdlg/colex.cxx
@@ -116,7 +116,7 @@ void SwPageExample::UpdateExample( const SfxItemSet& rSet )
SetHdDist( rUL.GetLower() );
SetHdLeft( rLR.GetLeft() );
SetHdRight( rLR.GetRight() );
- SetHeader( sal_True );
+ SetHeader( true );
if ( rHeaderSet.GetItemState( RES_BACKGROUND ) == SFX_ITEM_SET )
{
const SvxBrushItem& rItem =
@@ -131,7 +131,7 @@ void SwPageExample::UpdateExample( const SfxItemSet& rSet )
}
}
else
- SetHeader( sal_False );
+ SetHeader( false );
}
if( SFX_ITEM_SET == rSet.GetItemState( pPool->GetWhich( SID_ATTR_PAGE_FOOTERSET),
@@ -155,7 +155,7 @@ void SwPageExample::UpdateExample( const SfxItemSet& rSet )
SetFtDist( rUL.GetUpper() );
SetFtLeft( rLR.GetLeft() );
SetFtRight( rLR.GetRight() );
- SetFooter( sal_True );
+ SetFooter( true );
if( rFooterSet.GetItemState( RES_BACKGROUND ) == SFX_ITEM_SET )
{
const SvxBrushItem& rItem =
@@ -170,7 +170,7 @@ void SwPageExample::UpdateExample( const SfxItemSet& rSet )
}
}
else
- SetFooter( sal_False );
+ SetFooter( false );
}
if( SFX_ITEM_SET == rSet.GetItemState( RES_BACKGROUND,
false, &pItem ) )
@@ -191,8 +191,8 @@ void SwPageExample::UpdateExample( const SfxItemSet& rSet )
}
void SwColExample::DrawPage( const Point& rOrg,
- const sal_Bool bSecond,
- const sal_Bool bEnabled )
+ const bool bSecond,
+ const bool bEnabled )
{
SwPageExample::DrawPage( rOrg, bSecond, bEnabled );
sal_uInt16 nColumnCount;
@@ -465,8 +465,8 @@ SwPageGridExample::~SwPageGridExample()
}
void SwPageGridExample::DrawPage( const Point& rOrg,
- const sal_Bool bSecond,
- const sal_Bool bEnabled )
+ const bool bSecond,
+ const bool bEnabled )
{
SwPageExample::DrawPage(rOrg, bSecond, bEnabled);
if(pGridItem && pGridItem->GetGridType())
diff --git a/sw/source/core/uibase/inc/colex.hxx b/sw/source/core/uibase/inc/colex.hxx
index 748cc8db0396..dc7d25b1ba73 100644
--- a/sw/source/core/uibase/inc/colex.hxx
+++ b/sw/source/core/uibase/inc/colex.hxx
@@ -48,8 +48,8 @@ class SW_DLLPUBLIC SwPageGridExample : public SwPageExample
bool m_bVertical;
protected:
virtual void DrawPage( const Point& rPoint,
- const sal_Bool bSecond,
- const sal_Bool bEnabled );
+ const bool bSecond,
+ const bool bEnabled );
public:
SwPageGridExample(Window* pPar) :
SwPageExample(pPar),
@@ -68,8 +68,8 @@ class SW_DLLPUBLIC SwColExample : public SwPageExample
protected:
virtual void DrawPage( const Point& rPoint,
- const sal_Bool bSecond,
- const sal_Bool bEnabled );
+ const bool bSecond,
+ const bool bEnabled );
public:
SwColExample(Window* pPar)
diff --git a/sw/source/ui/dialog/uiregionsw.cxx b/sw/source/ui/dialog/uiregionsw.cxx
index d406a226a22a..b2394e9ddc9e 100644
--- a/sw/source/ui/dialog/uiregionsw.cxx
+++ b/sw/source/ui/dialog/uiregionsw.cxx
@@ -2211,7 +2211,7 @@ IMPL_LINK_NOARG(SwSectionIndentTabPage, IndentModifyHdl)
{
m_pPreviewWin->SetLeftMargin( static_cast< long >(m_pBeforeMF->Denormalize(m_pBeforeMF->GetValue(FUNIT_TWIP))) );
m_pPreviewWin->SetRightMargin( static_cast< long >(m_pAfterMF->Denormalize(m_pAfterMF->GetValue(FUNIT_TWIP))) );
- m_pPreviewWin->Draw(sal_True);
+ m_pPreviewWin->Draw(true);
return 0;
}