summaryrefslogtreecommitdiff
path: root/include/svx/fmsrcimp.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-24 10:41:57 +0200
committerNoel Grandin <noel@peralex.com>2016-08-25 08:40:00 +0200
commitf35e645e8271dbc1b6ed65f5fe846df3ba0abdba (patch)
tree926a2bd8990fd45c3978adb56fa8eab674c00102 /include/svx/fmsrcimp.hxx
parent07f355c95d7e317ce3878b88d87ac82f20f58ab7 (diff)
convert SEARCHFOR_TYPE to scoped enum
Change-Id: I077c38c1b17be0b541dd4dc1a8679b1ca7e367a8
Diffstat (limited to 'include/svx/fmsrcimp.hxx')
-rw-r--r--include/svx/fmsrcimp.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/fmsrcimp.hxx b/include/svx/fmsrcimp.hxx
index 682138cf0f27..59c622f147ef 100644
--- a/include/svx/fmsrcimp.hxx
+++ b/include/svx/fmsrcimp.hxx
@@ -166,7 +166,7 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC FmSearchEngine
friend class FmSearchThread;
enum SEARCH_RESULT { SR_FOUND, SR_NOTFOUND, SR_ERROR, SR_CANCELED };
- enum SEARCHFOR_TYPE { SEARCHFOR_STRING, SEARCHFOR_NULL, SEARCHFOR_NOTNULL };
+ enum class SearchFor { String, Null, NotNull };
CursorWrapper m_xSearchCursor;
std::deque<sal_Int32> m_arrFieldMapping;
@@ -204,7 +204,7 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC FmSearchEngine
// Communication with the thread that does the actual searching
OUString m_strSearchExpression; // forward direction
- SEARCHFOR_TYPE m_eSearchForType; // ditto
+ SearchFor m_eSearchForType; // ditto
SEARCH_RESULT m_srResult; // backward direction
// The link we broadcast the progress and the result to