[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - desktop/source
Jan Holesovsky
kendy at collabora.com
Tue Apr 25 14:49:30 UTC 2017
desktop/source/lib/init.cxx | 13 -------------
1 file changed, 13 deletions(-)
New commits:
commit 3762a86f694e742cd0cf7f4ad89cb8d2a5235a4d
Author: Jan Holesovsky <kendy at collabora.com>
Date: Tue Apr 25 16:11:25 2017 +0200
The debugging rectangles are not needed any more.
We have the debugging console in the loleafleat instead these days.
Change-Id: I316fa6d101a14e1bc7f2a8fab554f516ec55644d
Reviewed-on: https://gerrit.libreoffice.org/36949
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
Tested-by: Michael Meeks <michael.meeks at collabora.com>
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index fdedff280e4b..971d43548611 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1842,19 +1842,6 @@ static void doc_paintTile(LibreOfficeKitDocument* pThis,
pDoc->paintTile(*pDevice.get(), nCanvasWidth, nCanvasHeight,
nTilePosX, nTilePosY, nTileWidth, nTileHeight);
-
- static bool bDebug = getenv("LOK_DEBUG") != nullptr;
- if (bDebug)
- {
- // Draw a small red rectangle in the top left corner so that it's easy to see where a new tile begins.
- Rectangle aRect(0, 0, 5, 5);
- aRect = pDevice->PixelToLogic(aRect);
- pDevice->Push(PushFlags::FILLCOLOR | PushFlags::LINECOLOR);
- pDevice->SetFillColor(COL_LIGHTRED);
- pDevice->SetLineColor();
- pDevice->DrawRect(aRect);
- pDevice->Pop();
- }
#endif
#else
More information about the Libreoffice-commits
mailing list