summaryrefslogtreecommitdiff
path: root/vcl/source/outdev/font.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-03-13 19:29:53 +0200
committerTor Lillqvist <tml@collabora.com>2017-03-13 19:41:52 +0200
commit0760718be8a4355127159efc27d3b5c926402836 (patch)
treee313bae22bd9dd2d58679b2f579f3863c7e379bf /vcl/source/outdev/font.cxx
parent21a060a0ca597bce8dc6f73190ca48293164aaf7 (diff)
Fix bit-rot in OSL_DEBUG_LEVEL>2 (!) code
Change-Id: I376933a033a2dc2b5b7b59006b93d14a65463aed
Diffstat (limited to 'vcl/source/outdev/font.cxx')
-rw-r--r--vcl/source/outdev/font.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index 8a597f4602e4..18111beff7f1 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -964,8 +964,8 @@ vcl::Font OutputDevice::GetDefaultFont( DefaultFontType nType, LanguageType eLan
SAL_INFO("vcl.gdi",
"OutputDevice::GetDefaultFont() Type=\"" << s
<< "\" lang=" << eLang
- << " flags=" << nFlags
- << " FontName=\"" << OUStringToOString( aFont.GetName(), RTL_TEXTENCODING_UTF8 ).getStr());
+ << " flags=" << static_cast<int>(nFlags)
+ << " family=\"" << OUStringToOString( aFont.GetFamilyName(), RTL_TEXTENCODING_UTF8 ).getStr());
#endif
return aFont;