summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-11-03 22:31:15 +0200
committerJan Holesovsky <kendy@collabora.com>2013-11-15 16:52:04 +0100
commitdf029acfb24e56fbadfcc383f3bb98f949bfbb2a (patch)
tree29497ffab310b07dcac9e0aea611653860e93366 /sw
parent84e0a5a56fcc7812577caa5dfb3ca5bb3b6ed547 (diff)
Use SAL_INFO() instead of commented-out SAL_DEBUG() for now
Less hassle when committing, as even a commented-out SAL_DEBUG() triggers the commit hook to complain. Change-Id: I8cab87f204622624602fde3543630f073a558069
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/view/viewsh.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index eeb1e65e8db9..a54a123cf1d2 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -1773,7 +1773,7 @@ void SwViewShell::PaintTile(OutputDevice *pOut, const Rectangle &rRect)
extern "C"
void touch_lo_draw_tile(void *context, int contextWidth, int contextHeight, MLODpxPoint tileDpxPosition, MLODpxSize tileDpxSize)
{
- // SAL_DEBUG("touch_lo_draw_tile(" << contextWidth << ", " << contextHeight << ", (" << tileDpxPosition.x << "," << tileDpxPosition.y << "), " << tileDpxSize.width << "x" << tileDpxSize.height << ")");
+ SAL_INFO("sw", "touch_lo_draw_tile(" << contextWidth << ", " << contextHeight << ", (" << tileDpxPosition.x << "," << tileDpxPosition.y << "), " << tileDpxSize.width << "x" << tileDpxSize.height << ")");
MLORipPoint tileRipPosition = MLORipPointByDpxPoint(tileDpxPosition);
MLORipSize rileRipSize = MLORipSizeByDpxSize(tileDpxSize);
MLORip tileRipPosX = tileRipPosition.x;
@@ -1812,11 +1812,11 @@ void touch_lo_draw_tile(void *context, int contextWidth, int contextHeight, MLOD
static bool bCallSetSwVisArea = getenv("CALLSETSWVISAREA") != NULL;
if (bCallSetSwVisArea)
{
- // SwRect foo = pViewShell->VisArea();
- // SAL_DEBUG("old VisArea: " << foo);
+ SwRect foo = pViewShell->VisArea();
+ SAL_INFO("sw", "old VisArea: " << foo);
SetSwVisArea( pViewShell, SwRect(Point(tilePosX, tilePosY), Size(tileWidth, tileHeight)) );
- // foo = pViewShell->VisArea();
- // SAL_DEBUG("new VisArea: " << foo);
+ foo = pViewShell->VisArea();
+ SAL_INFO("sw", "new VisArea: " << foo);
}
// resizes the virtual device so to contain the entrie context
aDevice.SetOutputSizePixel(Size(contextWidth, contextHeight));