summaryrefslogtreecommitdiff
path: root/vcl/headless/svpgdi.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-05-23 18:58:41 +0200
committerJulien Nabet <serval2412@yahoo.fr>2015-05-23 18:00:49 +0000
commitc2690669d29c0679b7de8eec1e91a0fd17cea054 (patch)
treed5e7bce3ff154502d35e5f0af752747fbf268340 /vcl/headless/svpgdi.cxx
parent3fda0da0e97459505d2c549018a6b7ec68529a89 (diff)
Remove include stdio (part6)
Change-Id: I4dde46c81b36b318710e32c8f420dff8d9c2e655 Reviewed-on: https://gerrit.libreoffice.org/15879 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'vcl/headless/svpgdi.cxx')
-rw-r--r--vcl/headless/svpgdi.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index a41626f32c65..6abd6e4770ef 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -39,8 +39,6 @@
#include <sys/stat.h>
#endif
-#include <stdio.h>
-
inline void dbgOut( const basebmp::BitmapDeviceSharedPtr&
#if OSL_DEBUG_LEVEL > 2
rDevice
@@ -233,7 +231,7 @@ bool SvpSalGraphics::isClippedSetup( const basegfx::B2IBox &aRange, SvpSalGraphi
if( nHit == 0 ) // rendering outside any clipping region
{
-// fprintf (stderr, "denegerate case detected ...\n");
+ SAL_WARN("vcl.headless", "SvpSalGraphics::isClippedSetup: denegerate case detected ...\n");
return true;
}
else if( nHit == 1 ) // common path: rendering against just one clipping region
@@ -242,10 +240,10 @@ bool SvpSalGraphics::isClippedSetup( const basegfx::B2IBox &aRange, SvpSalGraphi
{
//The region to be painted (aRect) is equal to or inside the
//current clipping region
-// fprintf (stderr, " is inside ! avoid deeper clip ...\n");
+ SAL_WARN("vcl.headless", "SvpSalGraphics::isClippedSetup: is inside ! avoid deeper clip ...\n");
return false;
}
-// fprintf (stderr, " operation only overlaps with a single clip zone\n" );
+ SAL_WARN("vcl.headless", "SvpSalGraphics::isClippedSetup: operation only overlaps with a single clip zone\n");
rUndo.m_aDevice = m_aDevice;
m_aDevice = basebmp::subsetBitmapDevice( m_aOrigDevice,
basegfx::B2IBox (aHitRect.Left(),
@@ -254,7 +252,7 @@ bool SvpSalGraphics::isClippedSetup( const basegfx::B2IBox &aRange, SvpSalGraphi
aHitRect.Bottom() + 1) );
return false;
}
-// fprintf (stderr, "URK: complex & slow clipping case\n" );
+ SAL_INFO("vcl.headless", "SvpSalGraphics::isClippedSetup: URK: complex & slow clipping case\n");
// horribly slow & complicated case ...
ensureClip();