--- ooo_dev300_m35/sw/source/core/text/frmcrsr.cxx.orig 2008-10-23 21:01:03.285250000 +0900 +++ ooo_dev300_m35/sw/source/core/text/frmcrsr.cxx 2008-11-09 14:58:17.147750000 +0900 @@ -1148,7 +1148,7 @@ UErrorCode nError = U_ZERO_ERROR; UBiDi* pBidi = ubidi_openSized( nLen, 0, &nError ); - ubidi_setPara( pBidi, pLineString, nLen, nDefaultDir, NULL, &nError ); + ubidi_setPara( pBidi, reinterpret_cast(pLineString), nLen, nDefaultDir, NULL, &nError ); // UChar != sal_Unicode in MinGW xub_StrLen nTmpPos; sal_Bool bOutOfBounds = sal_False; --- ooo_dev300_m35/sw/source/core/text/porlay.cxx.orig 2008-09-27 16:14:42.524750000 +0900 +++ ooo_dev300_m35/sw/source/core/text/porlay.cxx 2008-11-09 09:32:07.507250000 +0900 @@ -1342,7 +1342,7 @@ UBiDi* pBidi = ubidi_openSized( rTxt.Len(), 0, &nError ); nError = U_ZERO_ERROR; - ubidi_setPara( pBidi, rTxt.GetBuffer(), rTxt.Len(), + ubidi_setPara( pBidi, reinterpret_cast(rTxt.GetBuffer()), rTxt.Len(), // UChar != sal_Unicode in MinGW nDefaultDir, NULL, &nError ); nError = U_ZERO_ERROR; long nCount = ubidi_countRuns( pBidi, &nError ); --- ooo_dev300_m35/sw/source/core/text/porfld.cxx.orig 2008-09-27 16:14:42.290375000 +0900 +++ ooo_dev300_m35/sw/source/core/text/porfld.cxx 2008-11-09 16:17:35.538375000 +0900 @@ -255,7 +255,7 @@ { UErrorCode nError = U_ZERO_ERROR; UBiDi* pBidi = ubidi_openSized( aTxt.Len(), 0, &nError ); - ubidi_setPara( pBidi, aTxt.GetBuffer(), aTxt.Len(), nFldDir, NULL, &nError ); + ubidi_setPara( pBidi, reinterpret_cast(aTxt.GetBuffer()), aTxt.Len(), nFldDir, NULL, &nError ); int32_t nEnd; UBiDiLevel nCurrDir; ubidi_getLogicalRun( pBidi, 0, &nEnd, &nCurrDir ); --- ooo_dev300_m35/sw/source/core/text/ScriptInfo.cxx.orig 2008-09-27 16:14:42.024750000 +0900 +++ ooo_dev300_m35/sw/source/core/text/ScriptInfo.cxx 2008-11-09 16:16:44.538375000 +0900 @@ -664,7 +664,7 @@ UBiDi* pBidi = ubidi_openSized( rTxt.Len(), 0, &nError ); nError = U_ZERO_ERROR; - ubidi_setPara( pBidi, rTxt.GetBuffer(), rTxt.Len(), + ubidi_setPara( pBidi, reinterpret_cast(rTxt.GetBuffer()), rTxt.Len(), nDefaultDir, NULL, &nError ); nError = U_ZERO_ERROR; long nCount = ubidi_countRuns( pBidi, &nError ); --- ooo_dev300_m35/sw/source/filter/ww8/writerwordglue.cxx.orig 2008-09-27 16:14:17.149750000 +0900 +++ ooo_dev300_m35/sw/source/filter/ww8/writerwordglue.cxx 2008-11-09 16:24:05.350875000 +0900 @@ -632,7 +632,7 @@ UBiDiDirection eDefaultDir = bParaIsRTL ? UBIDI_RTL : UBIDI_LTR; UErrorCode nError = U_ZERO_ERROR; UBiDi* pBidi = ubidi_openSized(rTxt.Len(), 0, &nError); - ubidi_setPara(pBidi, rTxt.GetBuffer(), rTxt.Len(), + ubidi_setPara(pBidi, reinterpret_cast(rTxt.GetBuffer()), rTxt.Len(), static_cast< UBiDiLevel >(eDefaultDir), 0, &nError); sal_Int32 nCount = ubidi_countRuns(pBidi, &nError);