summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui/filtdlg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-09 09:49:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-10 06:05:09 +0000
commit7cf66202f233043fff2ece108e877e885bf99ace (patch)
tree1fea94539f7a31277398f43f0a47a79f713d07ec /sc/source/ui/dbgui/filtdlg.cxx
parentb3b2f2b95070f1a385c51f432a52b9c84470913f (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 'sc/source/ui/dbgui/filtdlg.cxx')
-rw-r--r--sc/source/ui/dbgui/filtdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/dbgui/filtdlg.cxx b/sc/source/ui/dbgui/filtdlg.cxx
index 5021cf2f9710..d4bc2523cb81 100644
--- a/sc/source/ui/dbgui/filtdlg.cxx
+++ b/sc/source/ui/dbgui/filtdlg.cxx
@@ -649,7 +649,7 @@ ScQueryItem* ScFilterDlg::GetOutputItem()
theParam.bByRow = true;
theParam.bDuplicate = !pBtnUnique->IsChecked();
theParam.bCaseSens = pBtnCase->IsChecked();
- theParam.eSearchType = pBtnRegExp->IsChecked() ? utl::SearchParam::SRCH_REGEXP : utl::SearchParam::SRCH_NORMAL;
+ theParam.eSearchType = pBtnRegExp->IsChecked() ? utl::SearchParam::SearchType::Regexp : utl::SearchParam::SearchType::Normal;
theParam.bDestPers = pBtnDestPers->IsChecked();
// only set the three - reset everything else