diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-07-19 00:00:03 +0200 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-07-20 22:11:00 +0200 |
commit | 6ca2d0d6645a697d323593a401ea8b1da02445bf (patch) | |
tree | 328c08bd305d11be87e7fdd63985645826992e3b /vcl/generic | |
parent | cd3d26b7edbce67805259a71e4118223e02ebdd4 (diff) |
vcl use DeviceCoordinate got GetNextGlyphs
Change-Id: I0b03973b2d09a0ce51a6ee7dcca5a310a544c3a9
Diffstat (limited to 'vcl/generic')
-rw-r--r-- | vcl/generic/print/genpspgraphics.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/generic/print/genpspgraphics.cxx b/vcl/generic/print/genpspgraphics.cxx index d4072ed1188e..c09da8fdc2df 100644 --- a/vcl/generic/print/genpspgraphics.cxx +++ b/vcl/generic/print/genpspgraphics.cxx @@ -709,7 +709,7 @@ static void DrawPrinterLayout( const SalLayout& rLayout, ::psp::PrinterGfx& rGfx { const int nMaxGlyphs = 200; sal_GlyphId aGlyphAry[ nMaxGlyphs ]; - sal_Int32 aWidthAry[ nMaxGlyphs ]; + DeviceCoordinate aWidthAry[ nMaxGlyphs ]; sal_Int32 aIdxAry [ nMaxGlyphs ]; sal_Unicode aUnicodes[ nMaxGlyphs ]; int aCharPosAry [ nMaxGlyphs ]; @@ -743,7 +743,7 @@ static void DrawPrinterLayout( const SalLayout& rLayout, ::psp::PrinterGfx& rGfx if( !nGlyphCount ) break; - sal_Int32 nXOffset = 0; + DeviceCoordinate nXOffset = 0; for( int i = 0; i < nGlyphCount; ++i ) { nXOffset += aWidthAry[ i ]; |