summaryrefslogtreecommitdiff
path: root/linguistic/workben
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic/workben')
-rw-r--r--linguistic/workben/sspellimp.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/linguistic/workben/sspellimp.cxx b/linguistic/workben/sspellimp.cxx
index 2cc3f46921bf..56d3ffc7810a 100644
--- a/linguistic/workben/sspellimp.cxx
+++ b/linguistic/workben/sspellimp.cxx
@@ -229,8 +229,7 @@ Reference< XSpellAlternatives >
aAlt2( aTmp );
aAlt1.SearchAndReplaceAll( (sal_Unicode) 'x', (sal_Unicode) 'u');
aAlt1.SearchAndReplaceAll( (sal_Unicode) 'X', (sal_Unicode) 'U');
- aAlt2 = comphelper::string::remove(aAlt2, 'x');
- aAlt2 = comphelper::string::remove(aAlt2, 'X');
+ aAlt2 = aAlt2.replaceAll("x", "").replaceAll("X", "");
pStr[0] = aAlt1;
pStr[1] = aAlt2;