diff options
author | Petr Vorel <petr.vorel@gmail.com> | 2012-02-17 18:07:24 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-02-17 17:37:17 +0000 |
commit | 69eede0409987c0e34a3ff1000520bdf249fb150 (patch) | |
tree | 506027d960bddf7122624e7646e7e4f838a0e4be /linguistic | |
parent | vcl: simplify cut/paste shared module lists (diff) | |
download | core-69eede0409987c0e34a3ff1000520bdf249fb150.tar.gz core-69eede0409987c0e34a3ff1000520bdf249fb150.zip |
Remove unused code.
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 ) |