summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/i18n/textsearch.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/unotools/source/i18n/textsearch.cxx b/unotools/source/i18n/textsearch.cxx
index c548619e60e5..1eef0b5415d4 100644
--- a/unotools/source/i18n/textsearch.cxx
+++ b/unotools/source/i18n/textsearch.cxx
@@ -59,12 +59,6 @@ SearchParam::SearchParam( const OUString &rText,
m_bWildMatchSel = bWildMatchSel;
nTransliterationFlags = TransliterationFlags::NONE;
-
- // Parameters for weighted Levenshtein distance
- bLEV_Relaxed = true;
- nLEV_OtherX = 2;
- nLEV_ShorterY = 1;
- nLEV_LongerZ = 3;
}
SearchParam::SearchParam( const SearchParam& rParam )
@@ -80,11 +74,6 @@ SearchParam::SearchParam( const SearchParam& rParam )
m_bCaseSense = rParam.m_bCaseSense;
m_bWildMatchSel = rParam.m_bWildMatchSel;
- bLEV_Relaxed = rParam.bLEV_Relaxed;
- nLEV_OtherX = rParam.nLEV_OtherX;
- nLEV_ShorterY = rParam.nLEV_ShorterY;
- nLEV_LongerZ = rParam.nLEV_LongerZ;
-
nTransliterationFlags = rParam.nTransliterationFlags;
}