diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-23 09:47:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-08 10:39:36 +0200 |
commit | 45ec1d9b56cec41596f806ebf845ebfcd30c9f46 (patch) | |
tree | e368da6d3ae2c8a5c8e214b99dd0f95861d0fc78 /include/vcl | |
parent | 0748a5f8298e2ea817e131234f5e99300ed7f9f7 (diff) |
brute-force find-and-remove of unused #define constants.
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/bitmap.hxx | 1 | ||||
-rw-r--r-- | include/vcl/gdimtf.hxx | 1 | ||||
-rw-r--r-- | include/vcl/graphicfilter.hxx | 1 | ||||
-rw-r--r-- | include/vcl/print.hxx | 1 | ||||
-rw-r--r-- | include/vcl/salnativewidgets.hxx | 3 | ||||
-rw-r--r-- | include/vcl/settings.hxx | 2 | ||||
-rw-r--r-- | include/vcl/stdtext.hxx | 1 | ||||
-rw-r--r-- | include/vcl/syswin.hxx | 6 | ||||
-rw-r--r-- | include/vcl/txtattr.hxx | 1 | ||||
-rw-r--r-- | include/vcl/vclenum.hxx | 2 | ||||
-rw-r--r-- | include/vcl/vclevent.hxx | 4 | ||||
-rw-r--r-- | include/vcl/window.hxx | 1 |
12 files changed, 0 insertions, 24 deletions
diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx index 26a221c6a226..2dbfa8161993 100644 --- a/include/vcl/bitmap.hxx +++ b/include/vcl/bitmap.hxx @@ -53,7 +53,6 @@ #define BMP_DITHER_FLOYD 0x00000002UL #define BMP_DITHER_FLOYD_16 0x00000004UL -#define BMP_VECTORIZE_NONE BMP_VECTORIZE_OUTER #define BMP_VECTORIZE_INNER 0x00000001UL #define BMP_VECTORIZE_OUTER 0x00000002UL #define BMP_VECTORIZE_BOUND_ONLY 0x00000004UL diff --git a/include/vcl/gdimtf.hxx b/include/vcl/gdimtf.hxx index 65bf763b10f6..30c2934888ef 100644 --- a/include/vcl/gdimtf.hxx +++ b/include/vcl/gdimtf.hxx @@ -52,7 +52,6 @@ class Gradient; #define METAFILE_LABEL_NOTFOUND GDI_METAFILE_LABEL_NOTFOUND #endif -#define MTF_MIRROR_NONE 0x00000000UL #define MTF_MIRROR_HORZ 0x00000001UL #define MTF_MIRROR_VERT 0x00000002UL diff --git a/include/vcl/graphicfilter.hxx b/include/vcl/graphicfilter.hxx index 313ee02d364d..0515e205707e 100644 --- a/include/vcl/graphicfilter.hxx +++ b/include/vcl/graphicfilter.hxx @@ -75,7 +75,6 @@ struct ConvertData; #define EXP_PNG "SVEPNG" #define BMP_SHORTNAME "BMP" -#define MOV_SHORTNAME "MOV" #define GIF_SHORTNAME "GIF" #define JPG_SHORTNAME "JPG" #define MET_SHORTNAME "MET" diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index 242873c95dd1..63d412960a34 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -51,7 +51,6 @@ namespace vcl { } -#define PAGEQUEUE_ALLPAGES 0xFFFF enum PrinterSupport { SUPPORT_SET_ORIENTATION, SUPPORT_SET_PAPERBIN, SUPPORT_SET_PAPERSIZE, SUPPORT_SET_PAPER, diff --git a/include/vcl/salnativewidgets.hxx b/include/vcl/salnativewidgets.hxx index ced84247eacd..359494075c0b 100644 --- a/include/vcl/salnativewidgets.hxx +++ b/include/vcl/salnativewidgets.hxx @@ -109,8 +109,6 @@ typedef sal_uInt32 ControlType; // popup menu #define CTRL_MENU_POPUP 121 -// The statusbar -#define CTRL_STATUSBAR 130 #define CTRL_PROGRESS 131 // Progress bar for the intro window // (aka splash screen), in case some @@ -357,7 +355,6 @@ class VCL_DLLPUBLIC SliderValue : public ImplControlValue */ /* TABITEM constants are OR-ed together */ -#define TABITEM_NOTALIGNED 0x000 // the tabitem is an inner item #define TABITEM_LEFTALIGNED 0x001 // the tabitem is aligned with the left border of the TabControl #define TABITEM_RIGHTALIGNED 0x002 // the tabitem is aligned with the right border of the TabControl #define TABITEM_FIRST_IN_GROUP 0x004 // the tabitem is the first in group of tabitems diff --git a/include/vcl/settings.hxx b/include/vcl/settings.hxx index 5873c8e323af..709d95eee439 100644 --- a/include/vcl/settings.hxx +++ b/include/vcl/settings.hxx @@ -153,8 +153,6 @@ struct FrameStyle {} }; -#define DEFAULT_WORKSPACE_GRADIENT_START_COLOR Color( 0xa3, 0xae, 0xb8 ) -#define DEFAULT_WORKSPACE_GRADIENT_END_COLOR Color( 0x73, 0x7e, 0x88 ) // - StyleSettings - diff --git a/include/vcl/stdtext.hxx b/include/vcl/stdtext.hxx index 205b008a8b2d..39a2175408ca 100644 --- a/include/vcl/stdtext.hxx +++ b/include/vcl/stdtext.hxx @@ -27,7 +27,6 @@ namespace vcl { class Window; } #define STANDARD_TEXT_FIRST STANDARD_TEXT_SERVICE_NOT_AVAILABLE #define STANDARD_TEXT_SERVICE_NOT_AVAILABLE ((sal_uInt16)0) -#define STANDARD_TEXT_LAST STANDARD_TEXT_SERVICE_NOT_AVAILABLE OUString VCL_DLLPUBLIC GetStandardText(sal_uInt16 nStdText); diff --git a/include/vcl/syswin.hxx b/include/vcl/syswin.hxx index f52d54d48e44..1f29d45f0613 100644 --- a/include/vcl/syswin.hxx +++ b/include/vcl/syswin.hxx @@ -34,19 +34,13 @@ class VclBox; // - Icon-Types - #define ICON_LO_DEFAULT 1 #define ICON_TEXT_DOCUMENT 2 -#define ICON_TEXT_TEMPLATE 3 #define ICON_SPREADSHEET_DOCUMENT 4 -#define ICON_SPREADSHEET_TEMPLATE 5 #define ICON_DRAWING_DOCUMENT 6 -#define ICON_DRAWING_TEMPLATE 7 #define ICON_PRESENTATION_DOCUMENT 8 -#define ICON_PRESENTATION_TEMPLATE 9 -#define ICON_MASTER_DOCUMENT 10 #define ICON_TEMPLATE 11 #define ICON_DATABASE_DOCUMENT 12 #define ICON_MATH_DOCUMENT 13 #define ICON_MACROLIBRARY 1 -#define ICON_SETUP 500 // - WindowStateData - diff --git a/include/vcl/txtattr.hxx b/include/vcl/txtattr.hxx index c727f8f12ce3..825f2ae54fe6 100644 --- a/include/vcl/txtattr.hxx +++ b/include/vcl/txtattr.hxx @@ -28,7 +28,6 @@ namespace vcl { class Font; } -#define TEXTATTR_INVALID 0 #define TEXTATTR_FONTCOLOR 1 #define TEXTATTR_HYPERLINK 2 #define TEXTATTR_FONTWEIGHT 3 diff --git a/include/vcl/vclenum.hxx b/include/vcl/vclenum.hxx index 7d7ca50a20c8..3404d79c3bb8 100644 --- a/include/vcl/vclenum.hxx +++ b/include/vcl/vclenum.hxx @@ -49,7 +49,6 @@ enum GradientStyle #define HATCH_SINGLE HatchStyle_SINGLE #define HATCH_DOUBLE HatchStyle_DOUBLE #define HATCH_TRIPLE HatchStyle_TRIPLE -#define HATCH_FORCE_EQUAL_SIZE HatchStyle_FORCE_EQUAL_SIZE enum HatchStyle { @@ -63,7 +62,6 @@ enum HatchStyle #define LINE_NONE LineStyle_NONE #define LINE_SOLID LineStyle_SOLID #define LINE_DASH LineStyle_DASH -#define LINE_FORCE_EQUAL_SIZE LineStyle_FORCE_EQUAL_SIZE enum LineStyle { diff --git a/include/vcl/vclevent.hxx b/include/vcl/vclevent.hxx index 276321b0e5df..4e165a438643 100644 --- a/include/vcl/vclevent.hxx +++ b/include/vcl/vclevent.hxx @@ -178,15 +178,11 @@ namespace com { namespace sun { namespace star { #define VCLEVENT_MENU_HIDE 1251 #define VCLEVENT_TOOLBOX_ITEMWINDOWCHANGED 1216 -#define VCLEVENT_LISTBOX_TREEEXPAND 1218 -#define VCLEVENT_LISTBOX_TREECOLLAPSE 1219 #define VCLEVENT_LISTBOX_TREEFOCUS 1220 #define VCLEVENT_LISTBOX_TREESELECT 1221 #define VCLEVENT_EDIT_CARETCHANGED 1222 -#define VCLEVENT_COMBOBOX_UPDATEVALUE 1223 #define VCLEVENT_LISTBOX_FOCUS 1224 -#define VCLEVENT_LISTBOX_CLEAR 1225 // DockingWindow #define VCLEVENT_WINDOW_STARTDOCKING 1227 // pData = DockingData diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index eefc0051169a..5ced13491efc 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -299,7 +299,6 @@ enum class StateChangedType : sal_uInt16 #define IMPL_SEP_BUTTON_X 5 #define IMPL_SEP_BUTTON_Y 5 #define IMPL_MINSIZE_MSGBOX_WIDTH 150 -#define IMPL_MINSIZE_MSGBOX_HEIGHT 80 #define IMPL_DIALOG_OFFSET 5 #define IMPL_DIALOG_BAR_OFFSET 3 #define IMPL_MSGBOX_OFFSET_EXTRA_X 0 |