diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-02-09 19:49:50 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-09 21:29:45 +0100 |
commit | eb24bd1241a03ab488853d8f3030de1cd4f11148 (patch) | |
tree | 2449ebf28d897829dcf40e6c37825461b8ded0f1 /svx | |
parent | 7cd3e34da1af2060425e2449cfddec86034e9e2b (diff) |
Remove dead code: This stuff is always false
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sdr/overlay/overlaymanagerbuffered.cxx | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx index 2f82e8e4083a..34bca74ba061 100644 --- a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx +++ b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx @@ -210,28 +210,6 @@ namespace sdr aTopLeft, aSize, // destination aTopLeft, aSize, // source rSource); - -#ifdef DBG_UTIL - // #i72754# possible graphical region test only with non-pro - static bool bDoPaintForVisualControl(false); - if(bDoPaintForVisualControl) - { - const bool bMapModeWasEnabledTest(getOutputDevice().IsMapModeEnabled()); - getOutputDevice().EnableMapMode(false); - getOutputDevice().SetLineColor(COL_LIGHTRED); - getOutputDevice().SetFillColor(); - getOutputDevice().DrawRect(aRegionRectanglePixel); - getOutputDevice().EnableMapMode(bMapModeWasEnabledTest); - } - - static bool bDoSaveForVisualControl(false); - if(bDoSaveForVisualControl) - { - const Bitmap aBitmap(maBufferDevice.GetBitmap(aTopLeft, aSize)); - SvFileStream aNew((const String&)String(ByteString( "c:\\test.bmp" ), RTL_TEXTENCODING_UTF8), STREAM_WRITE|STREAM_TRUNC); - aNew << aBitmap; - } -#endif } aRegion.EndEnumRects(aRegionHandle); |