still ugly, but lets silent the warning for now

Change-Id: I647e969bfc9f8b4294d3e526d8d5b11df7d7bea9
This commit is contained in:
Bjoern Michaelsen
2014-06-12 19:40:58 +02:00
parent ba327f6b86
commit 5aadf3ce06

View File

@@ -1793,7 +1793,6 @@ void _RestoreCntntIdx(std::vector<sal_uLong> &rSaveArr,
sal_Int32 nChkLen)
{
const SwDoc* pDoc = rNd.GetDoc();
const SwRedlineTbl& rRedlTbl = pDoc->GetRedlineTbl();
const SwFrmFmts* pSpz = pDoc->GetSpzFrmFmts();
SwCntntNode* pCNd = (SwCntntNode*)rNd.GetCntntNode();
@@ -2058,7 +2057,7 @@ void CntntIdxStoreImpl::RestoreBkmksLen(SwNode& rNd, sal_uLong nLen, sal_Int32 n
void CntntIdxStoreImpl::SaveRedlines(SwDoc* pDoc, sal_uLong nNode, sal_Int32 nCntnt)
{
const SwRedlineTbl& rRedlTbl = pDoc->GetRedlineTbl();
for( long int nIdx = 0 ; nIdx < rRedlTbl.size(); ++nIdx )
for( long int nIdx = 0 ; static_cast<unsigned long int>(nIdx) < rRedlTbl.size(); ++nIdx )
{
const SwRangeRedline* pRdl = rRedlTbl[ nIdx ];
int nPointPos = lcl_RelativePosition( *pRdl->GetPoint(), nNode, nCntnt );