vcl/unx/generic/print/glyphset.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2325f9ac789cd12e5ecc9d239baf2558e1d678bb
Author: Noel Grandin <noel.gran...@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 <c...@libreoffice.org>
    Reviewed-by: Khaled Hosny <khaledho...@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);
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to