diff options
Diffstat (limited to 'vcl/source/glyphs/gcach_vdev.cxx')
-rw-r--r-- | vcl/source/glyphs/gcach_vdev.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/glyphs/gcach_vdev.cxx b/vcl/source/glyphs/gcach_vdev.cxx index 8cd45cf58224..6d8172d014a2 100644 --- a/vcl/source/glyphs/gcach_vdev.cxx +++ b/vcl/source/glyphs/gcach_vdev.cxx @@ -137,7 +137,7 @@ void VirtDevServerFont::FetchFontMetric( ImplFontMetricData& rTo, long& rFactor rTo.meWeight = aFSD.meWeight; rTo.meItalic = aFSD.meItalic; rTo.mePitch = aFSD.mePitch; - rTo.mbDevice = FALSE; + rTo.mbDevice = sal_False; } // ----------------------------------------------------------------------- @@ -194,7 +194,7 @@ bool VirtDevServerFont::GetGlyphBitmap1( int nGlyphIndex, RawBitmap& ) const String aGlyphStr( &aChar, 1 ); // draw bitmap - vdev.SetOutputSizePixel( aSize, TRUE ); + vdev.SetOutputSizePixel( aSize, sal_True ); vdev.DrawText( Point(0,0)-rGD.GetMetric().GetOffset(), aGlyphStr ); // create new glyph item @@ -222,7 +222,7 @@ int VirtDevServerFont::GetGlyphKernValue( int, int ) const // ----------------------------------------------------------------------- -ULONG VirtDevServerFont::GetKernPairs( ImplKernPairData** ppImplKernPairs ) const +sal_uIntPtr VirtDevServerFont::GetKernPairs( ImplKernPairData** ppImplKernPairs ) const { Font aFont; aFont.SetName ( GetFontSelData().maName ); @@ -235,7 +235,7 @@ ULONG VirtDevServerFont::GetKernPairs( ImplKernPairData** ppImplKernPairs ) cons VirtualDevice vdev( 1 ); vdev.SetFont( aFont ); - ULONG nPairs = vdev.GetKerningPairCount(); + sal_uIntPtr nPairs = vdev.GetKerningPairCount(); if( nPairs > 0 ) { KerningPair* const pKernPairs = new KerningPair[ nPairs ]; @@ -244,7 +244,7 @@ ULONG VirtDevServerFont::GetKernPairs( ImplKernPairData** ppImplKernPairs ) cons *ppImplKernPairs = new ImplKernPairData[ nPairs ]; ImplKernPairData* pTo = *ppImplKernPairs; KerningPair* pFrom = pKernPairs; - for ( ULONG n = 0; n < nPairs; n++ ) + for ( sal_uIntPtr n = 0; n < nPairs; n++ ) { pTo->mnChar1 = pFrom->nChar1; pTo->mnChar2 = pFrom->nChar2; |