Kaydet (Commit) 2325f9ac authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) Khaled Hosny

fix bug in GlyphSet::DrawGlyph

regression from
    commit b157b82a
	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/52385Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarKhaled Hosny <khaledhosny@eglug.org>
üst 40bc6c13
...@@ -192,7 +192,7 @@ void GlyphSet::DrawGlyph(PrinterGfx& rGfx, ...@@ -192,7 +192,7 @@ void GlyphSet::DrawGlyph(PrinterGfx& rGfx,
OString aGlyphSetName = GetGlyphSetName(nGlyphSetID); OString aGlyphSetName = GetGlyphSetName(nGlyphSetID);
rGfx.PSSetFont (aGlyphSetName, RTL_TEXTENCODING_DONTKNOW); rGfx.PSSetFont (aGlyphSetName, RTL_TEXTENCODING_DONTKNOW);
rGfx.PSMoveTo (rPoint); rGfx.PSMoveTo (aPoint);
rGfx.PSShowGlyph(nGlyphID); rGfx.PSShowGlyph(nGlyphID);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment