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

Tor Lillqvist tml at collabora.com
Fri Aug 28 09:12:44 PDT 2015


 vcl/win/source/gdi/winlayout.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit a0fc658e6d86aebc35cfd2bd695d90eb4c70d47a
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Aug 28 18:35:59 2015 +0300

    Avoid accidental leftover unconditional debug printout
    
    Change-Id: I67d2430aec782efa7916856584028f469d39355c

diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx
index 7158e29..19aa22f 100644
--- a/vcl/win/source/gdi/winlayout.cxx
+++ b/vcl/win/source/gdi/winlayout.cxx
@@ -276,9 +276,10 @@ bool ImplWinFontEntry::AddChunkOfGlyphs(int nGlyphIndex, const WinLayout& rLayou
         return false;
     }
 
+    std::ostringstream sLine;
     for (int i = 0; i < nCount; i++)
-        std::cerr << aABC[i].abcA << ":" << aABC[i].abcB << ":" << aABC[i].abcC << " ";
-    std::cerr << std::endl;
+        sLine << aABC[i].abcA << ":" << aABC[i].abcB << ":" << aABC[i].abcC << " ";
+    SAL_INFO("vcl.gdi.opengl", "ABC widths: " << sLine.str());
 
     // Try hard to avoid overlap as we want to be able to use
     // individual rectangles for each glyph. The ABC widths don't


More information about the Libreoffice-commits mailing list