diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-05-07 22:11:27 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-05-07 22:12:20 +0900 |
commit | 3312d3462318d39b90d3a30e09df08ccb20d51cc (patch) | |
tree | 3183f8603de0cf82af8a0046210c8c055ddecfbf /vcl | |
parent | 56934b87937a03ccc008379f7b03bbd4f255cc02 (diff) |
removed unused defines
Change-Id: Ieaba4fe704cc588bd515b427a7f14008afea8c03
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/app/settings.cxx | 7 | ||||
-rw-r--r-- | vcl/source/control/menubtn.cxx | 7 | ||||
-rw-r--r-- | vcl/source/gdi/bitmap2.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/graph.cxx | 11 | ||||
-rw-r--r-- | vcl/source/gdi/image.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/impimage.cxx | 1 | ||||
-rw-r--r-- | vcl/source/gdi/metaact.cxx | 1 | ||||
-rw-r--r-- | vcl/source/gdi/outdev2.cxx | 4 | ||||
-rw-r--r-- | vcl/source/gdi/salmisc.cxx | 3 | ||||
-rw-r--r-- | vcl/source/window/wrkwin.cxx | 5 |
10 files changed, 0 insertions, 43 deletions
diff --git a/vcl/source/app/settings.cxx b/vcl/source/app/settings.cxx index 939a751c50b2..cd2c7e65d798 100644 --- a/vcl/source/app/settings.cxx +++ b/vcl/source/app/settings.cxx @@ -56,13 +56,6 @@ DBG_NAME( AllSettings ) // ======================================================================= -#define STDSYS_STYLE (STYLE_OPTION_SCROLLARROW | \ - STYLE_OPTION_SPINARROW | \ - STYLE_OPTION_SPINUPDOWN | \ - STYLE_OPTION_NOMNEMONICS) - -// ======================================================================= - ImplMouseData::ImplMouseData() { mnRefCount = 1; diff --git a/vcl/source/control/menubtn.cxx b/vcl/source/control/menubtn.cxx index 2bb141263f17..57153673a23b 100644 --- a/vcl/source/control/menubtn.cxx +++ b/vcl/source/control/menubtn.cxx @@ -35,13 +35,6 @@ #include <vcl/menubtn.hxx> #include <vcl/svapp.hxx> - - -// ======================================================================= - -#define IMAGEBUTTON_BORDER_OFF1 11 -#define IMAGEBUTTON_BORDER_OFF2 16 - // ======================================================================= void MenuButton::ImplInitMenuButtonData() diff --git a/vcl/source/gdi/bitmap2.cxx b/vcl/source/gdi/bitmap2.cxx index c559383ca756..dc05ba93020e 100644 --- a/vcl/source/gdi/bitmap2.cxx +++ b/vcl/source/gdi/bitmap2.cxx @@ -49,8 +49,6 @@ #define DIBINFOHEADERSIZE ( sizeof( DIBInfoHeader ) ) #define BITMAPINFOHEADER 0x28 -#define SETPIXEL4( pBuf, nX, cChar )( (pBuf)[ (nX) >> 1 ] |= ( (nX) & 1 ) ? ( cChar ): (cChar) << 4 ); - // ---------------------- // - Compression defines // ---------------------- diff --git a/vcl/source/gdi/graph.cxx b/vcl/source/gdi/graph.cxx index 4f02074daf33..35ac193a1e38 100644 --- a/vcl/source/gdi/graph.cxx +++ b/vcl/source/gdi/graph.cxx @@ -43,17 +43,6 @@ #include <cppuhelper/typeprovider.hxx> #include <rtl/instance.hxx> -// ----------------------- -// - Compression defines - -// ----------------------- - -#define COMPRESS_OWN ('S'|('D'<<8UL)) -#define COMPRESS_NONE ( 0UL ) -#define RLE_8 ( 1UL ) -#define RLE_4 ( 2UL ) -#define BITFIELDS ( 3UL ) -#define ZCOMPRESS ( COMPRESS_OWN | 0x01000000UL ) /* == 'SD01' (binary) */ - using namespace ::com::sun::star; // ----------------------- diff --git a/vcl/source/gdi/image.cxx b/vcl/source/gdi/image.cxx index c9229827c069..f0b8744f13c3 100644 --- a/vcl/source/gdi/image.cxx +++ b/vcl/source/gdi/image.cxx @@ -52,8 +52,6 @@ DBG_NAME( Image ) DBG_NAME( ImageList ) -#define IMAGE_FILE_VERSION 100 - using namespace ::com::sun::star; // --------- diff --git a/vcl/source/gdi/impimage.cxx b/vcl/source/gdi/impimage.cxx index 4e7ebed2a3b7..99fcfb2a4140 100644 --- a/vcl/source/gdi/impimage.cxx +++ b/vcl/source/gdi/impimage.cxx @@ -43,7 +43,6 @@ #define IMPSYSIMAGEITEM_MASK ( 0x01 ) #define IMPSYSIMAGEITEM_ALPHA ( 0x02 ) -#define DISA_ALL ( 0xffff ) // ----------------------------------------------------------------------- diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx index 057239443f35..1a25a12156ba 100644 --- a/vcl/source/gdi/metaact.cxx +++ b/vcl/source/gdi/metaact.cxx @@ -85,7 +85,6 @@ inline void ImplScaleLineInfo( LineInfo& rLineInfo, double fScaleX, double fScal // ======================================================================== #define COMPAT( _def_rIStm ) VersionCompat aCompat( ( _def_rIStm ), STREAM_READ ); -#define COMPAT_VERSION() aCompat.GetVersion() #define WRITE_BASE_COMPAT( _def_rOStm, _def_nVer, _pWriteData ) \ MetaAction::Write( ( _def_rOStm ), _pWriteData ); \ VersionCompat aCompat( ( _def_rOStm ), STREAM_WRITE, ( _def_nVer ) ); diff --git a/vcl/source/gdi/outdev2.cxx b/vcl/source/gdi/outdev2.cxx index d0f727e52ecd..45cc6a265811 100644 --- a/vcl/source/gdi/outdev2.cxx +++ b/vcl/source/gdi/outdev2.cxx @@ -50,10 +50,6 @@ #include <region.h> #include <outdata.hxx> -#define BAND_MAX_SIZE 512000 - -// ======================================================================= - DBG_NAMEEX( OutputDevice ) // ======================================================================= diff --git a/vcl/source/gdi/salmisc.cxx b/vcl/source/gdi/salmisc.cxx index cae618d26f04..4f13fbbb784d 100644 --- a/vcl/source/gdi/salmisc.cxx +++ b/vcl/source/gdi/salmisc.cxx @@ -82,9 +82,6 @@ static long ImplIndexFromColor( const BitmapColor& rCol ) #endif } - -#define COLOR_TO_INDEX( _def_rCol ) - // ------------------------ // - conversion functions - // ------------------------ diff --git a/vcl/source/window/wrkwin.cxx b/vcl/source/window/wrkwin.cxx index 822f97953de8..64381456db48 100644 --- a/vcl/source/window/wrkwin.cxx +++ b/vcl/source/window/wrkwin.cxx @@ -45,11 +45,6 @@ // ======================================================================= -#define WORKWIN_WINDOWSTATE_FULLSCREEN ((sal_uLong)0x00010000) -#define WORKWIN_WINDOWSTATE_ALL ((sal_uLong)0x00FF0000) - -// ======================================================================= - void WorkWindow::ImplInitWorkWindowData() { mnIcon = 0; // Should be removed in the next top level update - now in SystemWindow |