summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-17 18:20:20 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-17 20:27:00 +0200
commit22b23819875eb04ca0bba402fb676c530de97726 (patch)
tree057a0b57f07ff774b0bc86e9c37b00b7e77b3d7f /editeng
parent9b1e55fe02dbdffadf08f6ede88f68b3cabae9fa (diff)
editeng: pointless code
Change-Id: Ice4f34ce60b0f4af97a985f4203a705523c0626b
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/misc/svxacorr.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 6e7f52d78c43..cfeea481d447 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -222,11 +222,6 @@ static CollatorWrapper& GetCollatorWrapper()
return aCollWrp;
}
-static void lcl_ClearTable(std::map<LanguageTag, std::unique_ptr<SvxAutoCorrectLanguageLists>>& rLangTable)
-{
- rLangTable.clear();
-}
-
bool SvxAutoCorrect::IsAutoCorrectChar( sal_Unicode cChar )
{
return cChar == '\0' || cChar == '\t' || cChar == 0x0a ||
@@ -316,7 +311,6 @@ SvxAutoCorrect::SvxAutoCorrect( const SvxAutoCorrect& rCpy )
SvxAutoCorrect::~SvxAutoCorrect()
{
- lcl_ClearTable(*m_pLangTable);
delete m_pLangTable;
delete pCharClass;
}