summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-10-22 21:11:27 +0200
committerEike Rathke <erack@redhat.com>2015-10-22 21:27:29 +0200
commit6554961459d990cfa2ca26d8a102b177f7cc84f5 (patch)
tree854a804dc40432d07a4d704ec5fdb4bf6009f36c /include
parent825b3df7f1d987021ec4a08ff8e7ed78e5772c97 (diff)
add missing SearchFiltered to SvxSearchItem slot definitions
Already since 26d5cf1ecadc17e5c6aff071b8750b9fadaa1d28 there was one SfxTypeAttrib element less in aAttrib[n] than defined MID_SEARCH_... values in include/svl/memberid.hrc, also SearchFiltered was missing from sfx2/sdi/sfxitems.sdi As a consequence the generated slot definitions workdir/SdiTarget/sc/sdi/scslots.hxx lacked that item. Change-Id: Ic901b3a85fb5242037d713f3642971e7073e684d
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