[Libreoffice-commits] .: sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Nov 19 07:45:44 PST 2012


 sw/source/core/layout/trvlfrm.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7615f62b81be351daba463d79598abe5665e0adf
Author: Michael Stahl <mstahl at redhat.com>
Date:   Mon Nov 19 16:43:09 2012 +0100

    warning C4805: '==': unsafe mix of bool and sal_Bool
    
    Change-Id: Ia3a21febe934b73401a008091c84766a2b798ca0

diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx
index 5578946..60660f1 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();


More information about the Libreoffice-commits mailing list