1 Index: vcl/source/gdi/mapmod.cxx
2 ===================================================================
3 RCS file: /cvs/gsl/vcl/source/gdi/mapmod.cxx,v
4 retrieving revision 1.1.1.1
5 diff -u -p -u -r1.1.1.1 mapmod.cxx
6 --- vcl/source/gdi/mapmod.cxx 18 Sep 2000 17:05:38 -0000 1.1.1.1
7 +++ vcl/source/gdi/mapmod.cxx 12 Sep 2003 16:51:13 -0000
8 @@ -144,6 +144,12 @@ static ImplMapMode* ImplGetStaticMapMode
9 static long aStaticImplMapModeAry[(MAP_LASTENUMDUMMY)*sizeof(ImplMapMode)/sizeof(long)];
12 + if( eUnit >= MAP_LASTENUMDUMMY )
14 + DBG_ASSERTWARNING( bRelMap, "Completely bogus map unit" );
15 + return ((ImplMapMode*)aStaticImplMapModeAry);
18 ImplMapMode* pImplMapMode = ((ImplMapMode*)aStaticImplMapModeAry)+eUnit;
19 if ( !pImplMapMode->mbSimple )