summaryrefslogtreecommitdiff
path: root/vcl/source/outdev
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2016-06-21 03:43:19 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2016-06-21 08:06:29 +0000
commit406e39fad66c6f4b0f589dcc682c57464b230d69 (patch)
tree5c9352fe5518f1d863e449671e863ad5ea82de98 /vcl/source/outdev
parent5ee7d509e7c6d78e758286efb6145385a310cfa5 (diff)
vcl: fprintf -> SAL_INFO
Only touching dbglevel > 0 code here, so clearly only informational.. Change-Id: Id6991c93f971bcc2a8badc809b98870a85322992 Reviewed-on: https://gerrit.libreoffice.org/26531 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'vcl/source/outdev')
-rw-r--r--vcl/source/outdev/font.cxx9
-rw-r--r--vcl/source/outdev/text.cxx5
2 files changed, 8 insertions, 6 deletions
diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index 48e16525ad39..17ee7a35aa5a 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -961,10 +961,11 @@ vcl::Font OutputDevice::GetDefaultFont( DefaultFontType nType, LanguageType eLan
case DefaultFontType::CTL_HEADING: s = "DefaultFontType::CTL_HEADING"; break;
case DefaultFontType::CTL_DISPLAY: s = "DefaultFontType::CTL_DISPLAY"; break;
}
- fprintf( stderr, " OutputDevice::GetDefaultFont() Type=\"%s\" lang=%d flags=%ld FontName=\"%s\"\n",
- s, eLang, nFlags,
- OUStringToOString( aFont.GetName(), RTL_TEXTENCODING_UTF8 ).getStr()
- );
+ SAL_INFO("vcl.gdi",
+ "OutputDevice::GetDefaultFont() Type=\"" << s
+ << "\" lang=" << eLang
+ << " flags=" << nFlags
+ << " FontName=\"" << OUStringToOString( aFont.GetName(), RTL_TEXTENCODING_UTF8 ).getStr());
#endif
return aFont;
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index 2de235bf5ceb..4368113c807d 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -840,8 +840,9 @@ void OutputDevice::DrawText( const Point& rStartPt, const OUString& rStr,
}
#if OSL_DEBUG_LEVEL > 2
- fprintf( stderr, " OutputDevice::DrawText(\"%s\")\n",
- OUStringToOString( rStr, RTL_TEXTENCODING_UTF8 ).getStr() );
+ SAL_INFO("vcl.gdi", "OutputDevice::DrawText(\""
+ << OUStringToOString( rStr, RTL_TEXTENCODING_UTF8 ).getStr()
+ << "\")");
#endif
if ( mpMetaFile )