summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/hffrm.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-11-26 18:52:32 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-11-26 18:52:54 +0900
commit6313953d87e5328fffe192233dc67d52250231c6 (patch)
treedfff219eb420bca238ba4377e0e0509904d143f4 /sw/source/core/layout/hffrm.cxx
parent9f12780c94e192949b2823552cfdd7d3d513277d (diff)
sal_Bool to bool
Change-Id: I31fa2f4a711f01ca134e8a977eb2147637fc7830
Diffstat (limited to 'sw/source/core/layout/hffrm.cxx')
-rw-r--r--sw/source/core/layout/hffrm.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/layout/hffrm.cxx b/sw/source/core/layout/hffrm.cxx
index 1944d7b94a4c..2466d6cbd968 100644
--- a/sw/source/core/layout/hffrm.cxx
+++ b/sw/source/core/layout/hffrm.cxx
@@ -49,7 +49,7 @@
// #i43771#
#include <objectformatter.hxx>
-extern sal_Bool bObjsDirect; //frmtool.cxx
+extern bool bObjsDirect; //frmtool.cxx
static SwTwips lcl_GetFrmMinHeight(const SwLayoutFrm & rFrm)
{
@@ -126,8 +126,8 @@ SwHeadFootFrm::SwHeadFootFrm( SwFrmFmt * pFmt, SwFrm* pSib, sal_uInt16 nTypeIn)
OSL_ENSURE( rCnt.GetCntntIdx(), "No content for Header." );
// Have the objects created right now for header and footer
- sal_Bool bOld = bObjsDirect;
- bObjsDirect = sal_True;
+ bool bOld = bObjsDirect;
+ bObjsDirect = true;
sal_uLong nIndex = rCnt.GetCntntIdx()->GetIndex();
::_InsertCnt( this, pFmt->GetDoc(), ++nIndex );
bObjsDirect = bOld;