summaryrefslogtreecommitdiff
path: root/include/svl/srchdefs.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-02-26 00:13:07 +0100
committerEike Rathke <erack@redhat.com>2016-02-26 01:41:50 +0100
commit393f11f88648e1c7cace6224aa7afcbf9d68ddd6 (patch)
treec7b7856b498e10e371400fca8a43472c80f1eb87 /include/svl/srchdefs.hxx
parent82e23b52acf52fe8334d0fcba62d6b956d222445 (diff)
add Wildcards to Find&Replace dialog
Enabled only for Calc. Writer needs to be adapted to support wildcards. The global escape character is '\' set in SvxSearchItem ctor. Change-Id: I1af78f296deff81e023ee9f0e936f5f506f80c83
Diffstat (limited to 'include/svl/srchdefs.hxx')
-rw-r--r--include/svl/srchdefs.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/svl/srchdefs.hxx b/include/svl/srchdefs.hxx
index 8fb303ce9a50..8c84b03ae28b 100644
--- a/include/svl/srchdefs.hxx
+++ b/include/svl/srchdefs.hxx
@@ -39,11 +39,12 @@ enum class SearchOptionFlags
MORE = 0x0800,
SIMILARITY = 0x1000,
CONTENT = 0x2000,
- ALL = 0x3fff
+ WILDCARD = 0x4000,
+ ALL = 0x7fff
};
namespace o3tl
{
- template<> struct typed_flags<SearchOptionFlags> : is_typed_flags<SearchOptionFlags, 0x3fff> {};
+ template<> struct typed_flags<SearchOptionFlags> : is_typed_flags<SearchOptionFlags, 0x7fff> {};
}
#endif