summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-30 11:08:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-30 19:50:30 +0200
commit979d58c9a96884e36d1585df0c04c89b1f53fa99 (patch)
treebce40aad53ac5123a2864da59b8d889b8a51e577 /unotools
parent3c1fc723ff622d8a541fa26a3397ca4258332e4a (diff)
loplugin:unusedfields in toolkit..xmloff
Change-Id: I4964ff97e0a1735dc08c6ad204cae0b08e9ffc2c Reviewed-on: https://gerrit.libreoffice.org/39406 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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;
}