diff options
-rw-r--r-- | include/sfx2/msg.hxx | 2 | ||||
-rw-r--r-- | include/svl/memberid.hrc | 4 | ||||
-rw-r--r-- | sfx2/sdi/sfxitems.sdi | 1 |
3 files changed, 6 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 diff --git a/sfx2/sdi/sfxitems.sdi b/sfx2/sdi/sfxitems.sdi index f293e5c90a6f..f98e9c9f4e41 100644 --- a/sfx2/sdi/sfxitems.sdi +++ b/sfx2/sdi/sfxitems.sdi @@ -75,6 +75,7 @@ UINT16 CellType MID_SEARCH_CELLTYPE; BOOL RowDirection MID_SEARCH_ROWDIRECTION; BOOL AllTables MID_SEARCH_ALLTABLES; + BOOL SearchFiltered MID_SEARCH_SEARCHFILTERED; BOOL Backward MID_SEARCH_BACKWARD; BOOL Pattern MID_SEARCH_PATTERN; BOOL Content MID_SEARCH_CONTENT; |