Index: vcl/win/source/gdi/salgdi3.cxx =================================================================== RCS file: /cvs/gsl/vcl/win/source/gdi/salgdi3.cxx,v retrieving revision 1.43 diff -u -r1.43 salgdi3.cxx --- vcl/win/source/gdi/salgdi3.cxx 24 Apr 2003 10:27:57 -0000 1.43 +++ vcl/win/source/gdi/salgdi3.cxx 3 May 2003 10:04:19 -0000 @@ -1602,7 +1602,11 @@ char aResourceName[512]; int nMaxLen = sizeof(aResourceName)/sizeof(*aResourceName) - 16; int nLen = ::GetTempPathA( nMaxLen, aResourceName ); +#if (_MSC_VER < 1300) + ::strncpy( aResourceName + nLen, aFileName, std::max( 0, nMaxLen - nLen )); +#else ::strncpy( aResourceName + nLen, aFileName, max( 0, nMaxLen - nLen )); +#endif ::DeleteFileA( aResourceName ); // Create font resource file (typically with a .fot file name extension). Index: vcl/win/source/gdi/winlayout.cxx =================================================================== RCS file: /cvs/gsl/vcl/win/source/gdi/winlayout.cxx,v retrieving revision 1.64 diff -u -r1.64 winlayout.cxx --- vcl/win/source/gdi/winlayout.cxx 22 Apr 2003 11:12:25 -0000 1.64 +++ vcl/win/source/gdi/winlayout.cxx 3 May 2003 10:04:21 -0000 @@ -622,7 +622,11 @@ Point aPos = GetDrawPosition( Point( mnBaseAdv, 0 ) ); // #108267#, limit the number of glyphs to avoid paint errors +#if (_MSC_VER < 1300) + UINT limitedGlyphCount = std::min( 8192, mnGlyphCount ); +#else UINT limitedGlyphCount = min( 8192, mnGlyphCount ); +#endif if( mnDrawOptions || aSalShlData.mbWNT ) { ::ExtTextOutW( aHDC, aPos.X(), aPos.Y(), mnDrawOptions, NULL,