summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorPetr Vorel <petr.vorel@gmail.com>2012-02-17 18:07:24 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-02-17 17:37:17 +0000
commit69eede0409987c0e34a3ff1000520bdf249fb150 (patch)
tree506027d960bddf7122624e7646e7e4f838a0e4be /linguistic
parentc04e865ff6b48d49d7ae73479710f255135d80a6 (diff)
Remove unused code.
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/spelldsp.cxx15
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 )