diff options
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/spelldta.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linguistic/source/spelldta.cxx b/linguistic/source/spelldta.cxx index f1d5d7b00023..34c931290578 100644 --- a/linguistic/source/spelldta.cxx +++ b/linguistic/source/spelldta.cxx @@ -110,7 +110,6 @@ void SeqRemoveNegEntries( Sequence< OUString > &rSeq, Reference< XSearchableDictionaryList > &rxDicList, sal_Int16 nLanguage ) { - static const OUString aEmpty; bool bSthRemoved = false; sal_Int32 nLen = rSeq.getLength(); OUString *pEntries = rSeq.getArray(); @@ -120,7 +119,7 @@ void SeqRemoveNegEntries( Sequence< OUString > &rSeq, pEntries[i], nLanguage, false, true ) ); if (xNegEntry.is()) { - pEntries[i] = aEmpty; + pEntries[i].clear(); bSthRemoved = true; } } |