summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-06-30 12:49:02 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-06-30 13:22:18 +0200
commitd930a807aaec3bf8ea5ebe377a4a1fe7a7155022 (patch)
tree8e7d1cc071bdd005390310b4c394d33a6ab4c1a4 /include
parentbb5196b40cc5f8f2d4f221e61a20d572ce504558 (diff)
remove unused ITEMID_MACRO
Change-Id: I11e94d406daa8e834253c9d3c44ec4e52c2418e1
Diffstat (limited to 'include')
-rw-r--r--include/editeng/eeitemid.hxx1
-rw-r--r--include/sfx2/evntconf.hxx6
-rw-r--r--include/svl/macitem.hxx2
3 files changed, 1 insertions, 8 deletions
diff --git a/include/editeng/eeitemid.hxx b/include/editeng/eeitemid.hxx
index 8230387048ff..80da17ef582c 100644
--- a/include/editeng/eeitemid.hxx
+++ b/include/editeng/eeitemid.hxx
@@ -115,7 +115,6 @@
#define ITEMID_PROTECT 0
#define ITEMID_BACKGROUND 0
#define ITEMID_SHADOW 0
-#define ITEMID_MACRO 0
#define ITEMID_BOX 0
#define ITEMID_BOXINFO 0
#define ITEMID_BRUSH 0
diff --git a/include/sfx2/evntconf.hxx b/include/sfx2/evntconf.hxx
index 2f181ad820b1..bf8fd6b0877f 100644
--- a/include/sfx2/evntconf.hxx
+++ b/include/sfx2/evntconf.hxx
@@ -25,14 +25,8 @@
#include <tools/rtti.hxx>
#include <vcl/fixed.hxx>
#include <vcl/button.hxx>
-
#include <sfx2/event.hxx>
-
#include <sfx2/sfxsids.hrc>
-#ifdef ITEMID_MACRO
-#undef ITEMID_MACRO
-#endif
-#define ITEMID_MACRO SID_ATTR_MACROITEM
#include <svl/macitem.hxx>
#include <vector>
diff --git a/include/svl/macitem.hxx b/include/svl/macitem.hxx
index 9d73f6a3ded3..10f635737b54 100644
--- a/include/svl/macitem.hxx
+++ b/include/svl/macitem.hxx
@@ -160,7 +160,7 @@ class SVL_DLLPUBLIC SvxMacroItem: public SfxPoolItem
public:
TYPEINFO();
- explicit inline SvxMacroItem ( const sal_uInt16 nId /*= ITEMID_MACRO*/ );
+ explicit inline SvxMacroItem ( const sal_uInt16 nId );
// "pure virtual Methoden" vom SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;