--- ooo_dev300_m35/svx/source/editeng/impedit2.cxx.orig 2008-09-27 18:46:47.993500000 +0900 +++ ooo_dev300_m35/svx/source/editeng/impedit2.cxx 2008-11-08 23:29:27.893125000 +0900 @@ -972,7 +972,7 @@ UBiDi* pBidi = ubidi_openSized( aLine.Len(), 0, &nError ); const UBiDiLevel nBidiLevel = IsRightToLeft( nPara ) ? 1 /*RTL*/ : 0 /*LTR*/; - ubidi_setPara( pBidi, pLineString, aLine.Len(), nBidiLevel, NULL, &nError ); + ubidi_setPara( pBidi, reinterpret_cast(pLineString), aLine.Len(), nBidiLevel, NULL, &nError ); // UChar != sal_Unicode in MinGW USHORT nVisPos = bStart ? 0 : aLine.Len()-1; USHORT nLogPos = (USHORT)ubidi_getLogicalIndex( pBidi, nVisPos, &nError ); @@ -1094,7 +1094,7 @@ UBiDi* pBidi = ubidi_openSized( aLine.Len(), 0, &nError ); const UBiDiLevel nBidiLevel = IsRightToLeft( nPara ) ? 1 /*RTL*/ : 0 /*LTR*/; - ubidi_setPara( pBidi, pLineString, aLine.Len(), nBidiLevel, NULL, &nError ); + ubidi_setPara( pBidi, reinterpret_cast(pLineString), aLine.Len(), nBidiLevel, NULL, &nError ); // UChar != sal_Unicode in MinGW if ( !pEditView->IsInsertMode() ) { @@ -1864,7 +1864,7 @@ UBiDi* pBidi = ubidi_openSized( aText.Len(), 0, &nError ); nError = U_ZERO_ERROR; - ubidi_setPara( pBidi, aText.GetBuffer(), aText.Len(), nBidiLevel, NULL, &nError ); + ubidi_setPara( pBidi, reinterpret_cast(aText.GetBuffer()), aText.Len(), nBidiLevel, NULL, &nError ); // UChar != sal_Unicode in MinGW nError = U_ZERO_ERROR; long nCount = ubidi_countRuns( pBidi, &nError ); --- ooo_dev300_m35/svx/source/outliner/outliner.cxx.orig 2008-10-08 22:49:07.521625000 +0900 +++ ooo_dev300_m35/svx/source/outliner/outliner.cxx 2008-11-08 23:31:29.596250000 +0900 @@ -2110,7 +2110,7 @@ // I do not have this info here. Is it necessary? I'll have to ask MT. const BYTE nDefaultDir = UBIDI_LTR; //IsRightToLeft( nPara ) ? UBIDI_RTL : UBIDI_LTR; - ubidi_setPara(pBidi, mrText.GetBuffer(), mrText.Len(), nDefaultDir, NULL, &nError); + ubidi_setPara(pBidi, reinterpret_cast(mrText.GetBuffer()), mrText.Len(), nDefaultDir, NULL, &nError); // UChar != sal_Unicode in MinGW nError = U_ZERO_ERROR; // sal_Int32 nCount(ubidi_countRuns(pBidi, &nError));