[Libreoffice-commits] core.git: vcl/unx
Noel Grandin
noel.grandin at collabora.co.uk
Wed Apr 4 22:44:03 UTC 2018
vcl/unx/generic/print/glyphset.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2325f9ac789cd12e5ecc9d239baf2558e1d678bb
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Wed Apr 4 15:49:47 2018 +0200
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 at libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny at eglug.org>
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);
}
More information about the Libreoffice-commits
mailing list