Kaydet (Commit) 5aadf3ce authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

still ugly, but lets silent the warning for now

Change-Id: I647e969bfc9f8b4294d3e526d8d5b11df7d7bea9
üst ba327f6b
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment