| commit | 2325f9ac789cd12e5ecc9d239baf2558e1d678bb | [log] |
|---|---|---|
| author | Noel Grandin <noel.grandin@collabora.co.uk> | Wed Apr 04 15:49:47 2018 +0200 |
| committer | Khaled Hosny <khaledhosny@eglug.org> | Thu Apr 05 00:43:39 2018 +0200 |
| tree | cbd47dda95a7d9bd053b3321a30eac07509df1b1 | |
| 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>
diff --git a/vcl/unx/generic/print/glyphset.cxx b/vcl/unx/generic/print/glyphset.cxx index f90053b..9dacabb 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); }