summaryrefslogtreecommitdiff
path: root/vcl/win/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-08-21 16:29:13 +0300
committerTor Lillqvist <tml@collabora.com>2015-08-21 16:30:04 +0300
commit50eda89e53914eb1272fffda8de4f15ac824a030 (patch)
treec1e1b5c6d1070772cc8006a236e2ec96cee70338 /vcl/win/source
parentb1aba5781af8a5e5a1ba88d525b2463063878ec0 (diff)
Let's not overdo the verboseness in this SAL_INFO
Change-Id: I7b06d0ffe53c6ebf2b479951321dcb37cb22c355
Diffstat (limited to 'vcl/win/source')
-rw-r--r--vcl/win/source/gdi/winlayout.cxx50
1 files changed, 1 insertions, 49 deletions
diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx
index b0575a6b0d7d..85b1e97de559 100644
--- a/vcl/win/source/gdi/winlayout.cxx
+++ b/vcl/win/source/gdi/winlayout.cxx
@@ -307,53 +307,6 @@ bool ImplWinFontEntry::AddChunkOfGlyphs(int nGlyphIndex, const WinLayout& rLayou
}
aChunk.mnAscentPlusIntLeading = aTextMetric.tmAscent + aTextMetric.tmInternalLeading;
- UINT nAlign = GetTextAlign(hDC);
- if (nAlign == GDI_ERROR)
- {
- SAL_WARN("vcl.gdi", "GetTextAlign failed: " << WindowsErrorString(GetLastError()));
- SelectObject(hDC, hOrigFont);
- DeleteDC(hDC);
- return false;
- }
-
- OUString sAlign;
- switch ((TA_LEFT|TA_CENTER|TA_RIGHT) & nAlign)
- {
- case TA_LEFT:
- sAlign = "LEFT";
- break;
- case TA_CENTER:
- sAlign = "CENTER";
- break;
- case TA_RIGHT:
- sAlign = "RIGHT";
- break;
- default:
- sAlign = "0x" + OUString::number((TA_LEFT|TA_CENTER|TA_RIGHT) & nAlign,16);
- break;
- }
- sAlign += "|";
- switch ((TA_BOTTOM|TA_BASELINE|TA_TOP) & nAlign)
- {
- case TA_BOTTOM:
- sAlign += "BOTTOM";
- break;
- case TA_BASELINE:
- sAlign += "BASELINE";
- break;
- case TA_TOP:
- sAlign += "TOP";
- break;
- default:
- sAlign += "0x" + OUString::number((TA_BOTTOM|TA_BASELINE|TA_TOP) & nAlign,16);
- break;
- }
- sAlign += "|";
- if (TA_UPDATECP & nAlign)
- sAlign += "UPDATECP";
- else
- sAlign += "NOUPDATECP";
-
LOGFONTW aLogfont;
if (!GetObjectW(rLayout.mhFont, sizeof(aLogfont), &aLogfont))
{
@@ -374,8 +327,7 @@ bool ImplWinFontEntry::AddChunkOfGlyphs(int nGlyphIndex, const WinLayout& rLayou
}
SAL_INFO("vcl.gdi.opengl", OUString(sFaceName, nFaceNameLen) <<
- ": " << sAlign <<
- " Escapement=" << aLogfont.lfEscapement <<
+ ": Escapement=" << aLogfont.lfEscapement <<
" Orientation=" << aLogfont.lfOrientation <<
" Ascent=" << aTextMetric.tmAscent <<
" InternalLeading=" << aTextMetric.tmInternalLeading <<