summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/msg.hxx2
-rw-r--r--include/svl/memberid.hrc4
2 files changed, 5 insertions, 1 deletions
diff --git a/include/sfx2/msg.hxx b/include/sfx2/msg.hxx
index 7e3c706ffdc9..94b3ecf9fbda 100644
--- a/include/sfx2/msg.hxx
+++ b/include/sfx2/msg.hxx
@@ -153,7 +153,7 @@ SFX_DECL_TYPE(13); // for SwAddPrinterItem, Sd...
SFX_DECL_TYPE(14);
SFX_DECL_TYPE(16); // for SwDocDisplayItem
SFX_DECL_TYPE(17); // for SvxAddressItem
-SFX_DECL_TYPE(20); // for SvxSearchItem
+SFX_DECL_TYPE(21); // for SvxSearchItem
// all SfxTypes must be in this header
#undef SFX_DECL_TYPE
diff --git a/include/svl/memberid.hrc b/include/svl/memberid.hrc
index 1593e2379aec..5c9f4e249d14 100644
--- a/include/svl/memberid.hrc
+++ b/include/svl/memberid.hrc
@@ -34,6 +34,10 @@
#define MID_SIZE_HEIGHT 2
// SvxSearchItem
+// XXX When changing the MID count here, also increment the corresponding
+// SvxSearchItem SFX_DECL_TYPE(n) value to match, and add a member to
+// struct SvxSearch in sfx2/sdi/sfxitems.sdi so that dependent slot items get
+// generated.
#define MID_SEARCH_STYLEFAMILY 1
#define MID_SEARCH_CELLTYPE 2
#define MID_SEARCH_ROWDIRECTION 3