diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-02-15 00:43:17 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-15 13:27:10 +0100 |
commit | 50679c68c1c3ff7f763f1f610e133b0d954710b4 (patch) | |
tree | 4e63eb0432ceae168a3cb92fb745c2d71a82a3b5 /editeng | |
parent | 8fed28d5fce821ef8ccdcf2fd96fecf9680c30e0 (diff) |
Remove unused DEBUG_JP
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/rtf/rtfgrf.cxx | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/editeng/source/rtf/rtfgrf.cxx b/editeng/source/rtf/rtfgrf.cxx index 7086ac09f061..f6da3447f45f 100644 --- a/editeng/source/rtf/rtfgrf.cxx +++ b/editeng/source/rtf/rtfgrf.cxx @@ -41,38 +41,6 @@ using namespace ::rtl; -#ifndef DBG_UTIL -#undef DEBUG_JP -#endif - -#ifdef DEBUG_JP - -#include <tools/fsys.hxx> - -class GrfWindow : public WorkWindow -{ - Graphic aGrf; -public: - GrfWindow( const Graphic& rGrf ); - virtual void Paint( const Rectangle& rRect ); -}; - -GrfWindow::GrfWindow( const Graphic& rGrf ) - : WorkWindow( NULL ), - aGrf( rGrf ) -{ - SetPosSizePixel( Point( 100, 0 ), Size( 300, 300 )); - Show(); - Invalidate(); - Update(); -} - -void GrfWindow::Paint( const Rectangle& ) -{ - aGrf.Draw( this, Point(0,0), GetSizePixel() ); -} -#endif - static BYTE aPal1[ 2 * 4 ] = { 0x00, 0x00, 0x00, 0x00, // Schwarz 0xFF, 0xFF, 0xFF, 0x00 // Weiss @@ -570,10 +538,6 @@ BOOL SvxRTFParser::ReadBmpData( Graphic& rGrf, SvxRTFPictureType& rPicType ) default: break; } - -#ifdef DEBUG_JP - new GrfWindow( rGrf ); -#endif } SetSrcEncoding( eOldEnc ); |