[Libreoffice-commits] core.git: vcl/source

Stephan Bergmann sbergman at redhat.com
Sun Mar 5 15:19:01 UTC 2017


 vcl/source/gdi/sallayout.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 55212835b5eba797a14430a0268b3bea773e0852
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Sun Mar 5 16:17:55 2017 +0100

    Does aPos need proper initialization here?
    
    Might explain some spurious Windows build failures.
    
    Change-Id: Ic4b0bf95254df27401addadc15b5df0c7d2945cd

diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx
index 88f02d6..2179b63 100644
--- a/vcl/source/gdi/sallayout.cxx
+++ b/vcl/source/gdi/sallayout.cxx
@@ -668,7 +668,7 @@ bool SalLayout::GetOutline( SalGraphics& rSalGraphics,
 
     basegfx::B2DPolyPolygon aGlyphOutline;
 
-    Point aPos;
+    Point aPos(0, 0);
     const GlyphItem* pGlyph;
     int nStart = 0;
     while (GetNextGlyphs(1, &pGlyph, aPos, nStart))


More information about the Libreoffice-commits mailing list