summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-23 09:47:48 +0200
committerNoel Grandin <noel@peralex.com>2015-01-08 10:39:36 +0200
commit45ec1d9b56cec41596f806ebf845ebfcd30c9f46 (patch)
treee368da6d3ae2c8a5c8e214b99dd0f95861d0fc78 /include/sfx2
parent0748a5f8298e2ea817e131234f5e99300ed7f9f7 (diff)
brute-force find-and-remove of unused #define constants.
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/childwin.hxx2
-rw-r--r--include/sfx2/docfac.hxx12
-rw-r--r--include/sfx2/msg.hxx1
-rw-r--r--include/sfx2/objsh.hxx2
-rw-r--r--include/sfx2/sfxcommands.h1
-rw-r--r--include/sfx2/shell.hxx1
-rw-r--r--include/sfx2/sidebar/ResourceDefinitions.hrc15
-rw-r--r--include/sfx2/tabdlg.hxx1
-rw-r--r--include/sfx2/viewsh.hxx3
9 files changed, 3 insertions, 35 deletions
diff --git a/include/sfx2/childwin.hxx b/include/sfx2/childwin.hxx
index 592ab9a8740b..85506bdbffe9 100644
--- a/include/sfx2/childwin.hxx
+++ b/include/sfx2/childwin.hxx
@@ -36,9 +36,7 @@ class SfxChildWindow;
class SfxChildWindowContext;
#define SFX_CHILDWIN_ZOOMIN 0x01 // Fully retracted Float
-#define SFX_CHILDWIN_SMALL 0x02 // Half retracted Float
#define SFX_CHILDWIN_FORCEDOCK 0x04 // Float forbidden
-#define SFX_CHILDWIN_AUTOHIDE 0x08 // DockingWindow in AutoHide mode
#define SFX_CHILDWIN_TASK 0x10 // ChildWindow inside the Task
#define SFX_CHILDWIN_CANTGETFOCUS 0x20 // ChildWindow can not get focus
#define SFX_CHILDWIN_ALWAYSAVAILABLE 0x40 // ChildWindow is never disabled
diff --git a/include/sfx2/docfac.hxx b/include/sfx2/docfac.hxx
index 40dc08b3b59d..e31690779926 100644
--- a/include/sfx2/docfac.hxx
+++ b/include/sfx2/docfac.hxx
@@ -40,18 +40,6 @@ class SfxBindings;
typedef void (*SfxVoidFunc)();
-#define SDT_SDT_DOCFACTPRIO 10 // Explorer
-#define SDT_SW_DOCFACTPRIO 20 // Text Document
-#define SDT_SWW_DOCFACTPRIO 21 // Web Document
-#define SDT_SC_DOCFACTPRIO 30 // Table Document
-#define SDT_SI_DOCFACTPRIO 40 // Impress Document
-#define SDT_SD_DOCFACTPRIO 41 // Draw Document
-#define SDT_SCH_DOCFACTPRIO 50 // Chart Document
-#define SDT_SMA_DOCFACTPRIO 60 // Math Document
-#define SDT_SIM_DOCFACTPRIO 70 // Image Document
-#define SDT_FRM_DOCFACTPRIO 100 // Frame Document
-#define SDT_MSG_DOCFACTPRIO 110 // Message Document
-#define SDT_SDB_DOCFACTPRIO 200 // Database Document
class SFX2_DLLPUBLIC SfxObjectFactory
{
diff --git a/include/sfx2/msg.hxx b/include/sfx2/msg.hxx
index fe79550d1ec7..ca5a5ac9a78a 100644
--- a/include/sfx2/msg.hxx
+++ b/include/sfx2/msg.hxx
@@ -38,7 +38,6 @@
#define SFX_SLOT_ASYNCHRON 0x0020L // via Post-Message, exclusiv
// to SYNCHRON
-#define SFX_SLOT_HASCOREID 0x0040L // Slot-ID/Which-ID execute mapping
#define SFX_SLOT_HASDIALOG 0x0080L // Coordinates for dialogue after recofig
#define SFX_SLOT_NORECORD 0x0100L // no recording
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index d9d4e956e5cd..d1cd9f4138c2 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -108,7 +108,6 @@ namespace com { namespace sun { namespace star {
typedef sal_uInt32 SfxObjectShellFlags;
#define SFXOBJECTSHELL_HASOPENDOC 0x01L
-#define SFXOBJECTSHELL_DONTREPLACE 0x02L
#define SFXOBJECTSHELL_HASMENU 0x04L
#define SFXOBJECTSHELL_DONTLOADFILTERS 0x08L
#define SFXOBJECTSHELL_DONTCLOSE 0x10L
@@ -486,7 +485,6 @@ public:
#define CONTENT_STYLE 0
#define CONTENT_CONFIG 1
#define CONTENT_MACRO 2
-#define DEF_CONTENT_COUNT 1
virtual std::vector<Color> GetDocColors();
diff --git a/include/sfx2/sfxcommands.h b/include/sfx2/sfxcommands.h
index e9b1b11eafc4..a5ac9fcea749 100644
--- a/include/sfx2/sfxcommands.h
+++ b/include/sfx2/sfxcommands.h
@@ -32,7 +32,6 @@
#define CMD_SID_WIN_FULLSCREEN ".uno:FullScreen"
#define CMD_SID_BASICIDE_HIDECURPAGE ".uno:HideCurPage"
#define CMD_SID_BASICIDE_MODULEDLG ".uno:ModuleDialog"
-#define CMD_SID_NAVIGATOR ".uno:Navigator"
#define CMD_SID_BASICIDE_NEWDIALOG ".uno:NewDialog"
#define CMD_SID_BASICIDE_NEWMODULE ".uno:NewModule"
#define CMD_SID_OPENDOC ".uno:Open"
diff --git a/include/sfx2/shell.hxx b/include/sfx2/shell.hxx
index 2baa19f13a44..69d8e750442b 100644
--- a/include/sfx2/shell.hxx
+++ b/include/sfx2/shell.hxx
@@ -614,7 +614,6 @@ SFX_TMPL_INTERFACE(Class,SuperClass,true) \
#define SFX_VISIBILITY_FULLSCREEN 0x2000
#define SFX_VISIBILITY_CLIENT 0x4000
#define SFX_VISIBILITY_SERVER 0x8000
-#define SFX_VISIBILITY_NOCONTEXT 0xFFFF // Always visible
#endif
diff --git a/include/sfx2/sidebar/ResourceDefinitions.hrc b/include/sfx2/sidebar/ResourceDefinitions.hrc
index 47f97c52f98f..b181c7c18e4f 100644
--- a/include/sfx2/sidebar/ResourceDefinitions.hrc
+++ b/include/sfx2/sidebar/ResourceDefinitions.hrc
@@ -31,9 +31,6 @@
//panel common
#define PROPERTYPAGE_WIDTH 109
-//about titlebar
-#define STR_MOREPROPERTY_QUICKHELP 3
-
//about section page
#define CONTROL_SPACING_VERTICAL 5
#define CONTROL_SPACING_HORIZONTAL 3
@@ -43,12 +40,6 @@
#define CBOX_HEIGHT 12
#define MBOX_HEIGHT 12
-#define TBX_OUT_BORDER_OFFSET_X 2
-#define TBX_OUT_BORDER_OFFSET_Y 1
-
-//for 16*16 pixel bmp
-#define TOOLBOX_ITEM_HEIGHT 15
-#define TOOLBOX_ITEM_WIDTH 13
//about popup panel
#define POPUPPANEL_MARGIN_VERTICAL 7
@@ -59,11 +50,11 @@
#define OFFSET_X 1
#define OFFSET_Y 1
-#define POPUP_COLOR_PICKER_WIDTH 97
-#define POPUP_COLOR_PICKER_HEIGHT 114
//new
#define POPUPPANEL_MARGIN_SMALL 2
#define POPUPPANEL_MARGIN_LARGE 5
-#endif
+
+
+#endif /* _SFX_SIDEBAR_RESOURCE_DEFINITIONS_HRC */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx
index f91e01132fb0..252d728a79b5 100644
--- a/include/sfx2/tabdlg.hxx
+++ b/include/sfx2/tabdlg.hxx
@@ -43,7 +43,6 @@ struct TabPageImpl;
struct TabDlg_Impl;
-#define ID_TABCONTROL 1
#define RET_USER 100
#define RET_USER_CANCEL 101
diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx
index 2894122b07c6..8919d8fc0a58 100644
--- a/include/sfx2/viewsh.hxx
+++ b/include/sfx2/viewsh.hxx
@@ -67,10 +67,7 @@ class SfxInPlaceClient;
#define SFX_PRINTER_CHG_SIZE 16
#define SFX_PRINTER_ALL 31
-#define SFX_PRINTER_CHG_ORIENTATION_FLAG 3
-#define SFX_PRINTER_CHG_SIZE_FLAG 4
-#define SFX_PRINTERROR_NONE 0
#define SFX_PRINTERROR_BUSY 1
// "Verified" using www.apple.com and Netscape 3.01