summaryrefslogtreecommitdiff
path: root/linguistic/source/thesdsp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic/source/thesdsp.cxx')
-rw-r--r--linguistic/source/thesdsp.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/linguistic/source/thesdsp.cxx b/linguistic/source/thesdsp.cxx
index 3fdfe5c73da1..77522e0f77cd 100644
--- a/linguistic/source/thesdsp.cxx
+++ b/linguistic/source/thesdsp.cxx
@@ -122,8 +122,7 @@ Sequence< Reference< XMeaning > > SAL_CALL
if (pEntry)
{
- OUString aChkWord( rTerm );
- aChkWord = aChkWord.replace( SVT_HARD_SPACE, ' ' );
+ OUString aChkWord = rTerm.replace( SVT_HARD_SPACE, ' ' );
RemoveHyphens( aChkWord );
if (IsIgnoreControlChars( rProperties, GetPropSet() ))
RemoveControlChars( aChkWord );