Passing a string to a std::ostringstream ctor is tricky
For it to do what one typically wants, also std::ios_base::ate is needed. Change-Id: If520c98cbd4d3913b644c2137623c2b7e9c5c708
This commit is contained in:
@@ -179,7 +179,7 @@ void DumpGlyphBitmap(HDC hDC)
|
||||
|
||||
SAL_INFO("vcl.gdi.opengl", "Bitmap " << hBitmap << ": " << aBitmap.bmWidth << "x" << aBitmap.bmHeight << ":");
|
||||
|
||||
std::ostringstream sLine("\n");
|
||||
std::ostringstream sLine("\n", std::ios_base::ate);
|
||||
for (long y = 0; y < aBitmap.bmHeight; y++)
|
||||
{
|
||||
for (long x = 0; x < std::min(75l, aBitmap.bmWidth); x++)
|
||||
|
Reference in New Issue
Block a user