summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-11-19 16:43:09 +0100
committerMichael Stahl <mstahl@redhat.com>2012-11-19 16:44:02 +0100
commit7615f62b81be351daba463d79598abe5665e0adf (patch)
treee38c8296d03e9231bb0cdcd4f06f1da82cc14b44 /sw
parent7228c24e38363ed4684936f69eb49a7905b5a16b (diff)
warning C4805: '==': unsafe mix of bool and sal_Bool
Change-Id: Ia3a21febe934b73401a008091c84766a2b798ca0
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/trvlfrm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx
index 557894686304..60660f17c170 100644
--- a/sw/source/core/layout/trvlfrm.cxx
+++ b/sw/source/core/layout/trvlfrm.cxx
@@ -2529,7 +2529,7 @@ void SwRootFrm::CalcFrmRects( SwShellCrsr &rCrsr, sal_Bool bIsTblMode )
}
//Now the frames between, if there are any
- sal_Bool bBody = pStartFrm->IsInDocBody();
+ bool const bBody = pStartFrm->IsInDocBody();
const SwTableBox* pCellBox = pStartFrm->GetUpper()->IsCellFrm() ?
((SwCellFrm*)pStartFrm->GetUpper())->GetTabBox() : 0;
const SwCntntFrm *pCntnt = pStartFrm->GetNextCntntFrm();