diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-04 15:49:47 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2018-04-05 00:43:39 +0200 |
commit | 2325f9ac789cd12e5ecc9d239baf2558e1d678bb (patch) | |
tree | cbd47dda95a7d9bd053b3321a30eac07509df1b1 /vcl | |
parent | 40bc6c1380226677ef72b9667dba9d577087dfc6 (diff) |
fix bug in GlyphSet::DrawGlyph
regression from
commit b157b82a6d924ebed1683b90bc9d59bbe2603451
Date: Thu Dec 8 04:13:26 2016 +0200
Use GlyphItem in more places
found by my new unusedvariablesmore plugin
Change-Id: I195a084a2c524cda3f87703228365432c5681133
Reviewed-on: https://gerrit.libreoffice.org/52385
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/generic/print/glyphset.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/print/glyphset.cxx b/vcl/unx/generic/print/glyphset.cxx index f90053bf9c87..9dacabb7dfb0 100644 --- a/vcl/unx/generic/print/glyphset.cxx +++ b/vcl/unx/generic/print/glyphset.cxx @@ -192,7 +192,7 @@ void GlyphSet::DrawGlyph(PrinterGfx& rGfx, OString aGlyphSetName = GetGlyphSetName(nGlyphSetID); rGfx.PSSetFont (aGlyphSetName, RTL_TEXTENCODING_DONTKNOW); - rGfx.PSMoveTo (rPoint); + rGfx.PSMoveTo (aPoint); rGfx.PSShowGlyph(nGlyphID); } |