diff options
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/spelldsp.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/linguistic/source/spelldsp.cxx b/linguistic/source/spelldsp.cxx index d809e9ed6af5..cf5a854670eb 100644 --- a/linguistic/source/spelldsp.cxx +++ b/linguistic/source/spelldsp.cxx @@ -81,7 +81,6 @@ public: void Append( const OUString &rNew ); void Append( const std::vector< OUString > &rNew ); void Append( const Sequence< OUString > &rNew ); - void Remove( const OUString &rText ); Sequence< OUString > GetSequence() const; }; @@ -164,20 +163,6 @@ Sequence< OUString > ProposalList::GetSequence() const return aRes; } -void ProposalList::Remove( const OUString &rText ) -{ - size_t nLen = aVec.size(); - for (size_t i = 0; i < nLen; ++i) - { - OUString &rEntry = aVec[i]; - if (rEntry == rText) - { - rEntry = OUString(); - break; // there should be only one matching entry - } - } -} - sal_Bool SvcListHasLanguage( const LangSvcEntries_Spell &rEntry, LanguageType nLanguage ) |