summaryrefslogtreecommitdiff
path: root/include/svl
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/svl
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/svl')
-rw-r--r--include/svl/memberid.hrc4
1 files changed, 4 insertions, 0 deletions
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