From a6050c32f30796743f9ab9b2a5c793ced9b8f747 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 26 Aug 2015 22:24:36 +0200 Subject: Clean up aEmpty Change-Id: I4c4294b7fb1cb537ba3ae3e6e7e747a3333b7469 --- linguistic/source/spelldta.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'linguistic') 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; } } -- cgit