summaryrefslogtreecommitdiff
path: root/svl/source/misc/lngmisc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/misc/lngmisc.cxx')
-rw-r--r--svl/source/misc/lngmisc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/misc/lngmisc.cxx b/svl/source/misc/lngmisc.cxx
index 1c7928fc6ba9..a5d38b1a21c6 100644
--- a/svl/source/misc/lngmisc.cxx
+++ b/svl/source/misc/lngmisc.cxx
@@ -38,8 +38,8 @@ namespace linguistic
bool RemoveHyphens(OUString &rTxt)
{
sal_Int32 n = rTxt.getLength();
- rTxt = rTxt.replaceAll(OUStringLiteral1(SVT_SOFT_HYPHEN), "");
- rTxt = rTxt.replaceAll(OUStringLiteral1(SVT_HARD_HYPHEN), "");
+ rTxt = rTxt.replaceAll(OUStringChar(SVT_SOFT_HYPHEN), "");
+ rTxt = rTxt.replaceAll(OUStringChar(SVT_HARD_HYPHEN), "");
return n != rTxt.getLength();
}