diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-09 09:49:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-10 06:05:09 +0000 |
commit | 7cf66202f233043fff2ece108e877e885bf99ace (patch) | |
tree | 1fea94539f7a31277398f43f0a47a79f713d07ec /connectivity | |
parent | b3b2f2b95070f1a385c51f432a52b9c84470913f (diff) |
convert SearchParam::SearchType to scoped enum
and drop unused SRCH_LEVDIST enumerator
Change-Id: Ic5118757060656562e04dd7da24a3f143abec3fb
Reviewed-on: https://gerrit.libreoffice.org/34065
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/mork/MQueryHelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/mork/MQueryHelper.cxx b/connectivity/source/drivers/mork/MQueryHelper.cxx index 5fd79bc9a449..e13e6899dddb 100644 --- a/connectivity/source/drivers/mork/MQueryHelper.cxx +++ b/connectivity/source/drivers/mork/MQueryHelper.cxx @@ -303,7 +303,7 @@ sal_Int32 MQueryHelper::executeQuery(OConnection* xConnection, MQueryExpression } else if (evStr->getCond() == MQueryOp::RegExp) { SAL_INFO("connectivity.mork", "MQueryOp::RegExp; done"); utl::SearchParam param( - searchedValue, utl::SearchParam::SRCH_REGEXP); + searchedValue, utl::SearchParam::SearchType::Regexp); utl::TextSearch ts(param, LANGUAGE_DONTKNOW); sal_Int32 start = 0; sal_Int32 end = currentValue.getLength(); |