$NetBSD: patch-ag,v 1.9 2004/06/27 20:06:24 dmcmahill Exp $ --- src/wp/impexp/xp/ie_Table.cpp.orig Mon Aug 25 01:45:11 2003 +++ src/wp/impexp/xp/ie_Table.cpp @@ -1028,7 +1028,7 @@ UT_sint32 ie_imp_table::NewRow(void) UT_sint32 j = 0; for(j=0; !bMatch && (j < static_cast(m_vecCellX.getItemCount())); j++) { - UT_sint32 prevX = reinterpret_cast(m_vecCellX.getNthItem(j)); + UT_sint32 prevX = (UT_sint32)(m_vecCellX.getNthItem(j)); UT_DEBUGMSG(("Prev cell %d cellx %d \n",j,prevX)); bool bLast = ((j-1) == szCurRow); bMatch = doCellXMatch(prevX,curX,bLast); @@ -1179,7 +1179,7 @@ void ie_imp_table::writeTablePropsInDoc( sColWidth.clear(); for(i=0; i< static_cast(m_vecCellX.getItemCount()); i++) { - UT_sint32 iCellx = reinterpret_cast(m_vecCellX.getNthItem(i)); + UT_sint32 iCellx = (UT_sint32)(m_vecCellX.getNthItem(i)); xxx_UT_DEBUGMSG(("final cellx import cellx %d iPrev %x \n",iCellx,iPrev)); UT_sint32 iDiffCellx = iCellx - iPrev; double dCellx = static_cast(iDiffCellx)/1440.0 -dColSpace; @@ -1377,7 +1377,7 @@ UT_sint32 ie_imp_table::getColNumber(ie_ UT_sint32 iSub = 0; for(i=0; !bFound && (i< static_cast(m_vecCellX.getItemCount())); i++) { - UT_sint32 icellx = reinterpret_cast(m_vecCellX.getNthItem(i)); + UT_sint32 icellx = (UT_sint32)(m_vecCellX.getNthItem(i)); if(icellx == -1) { iSub++;