Kaydet (Commit) 22b23819 authored tarafından Michael Stahl's avatar Michael Stahl

editeng: pointless code

Change-Id: Ice4f34ce60b0f4af97a985f4203a705523c0626b
üst 9b1e55fe
...@@ -222,11 +222,6 @@ static CollatorWrapper& GetCollatorWrapper() ...@@ -222,11 +222,6 @@ static CollatorWrapper& GetCollatorWrapper()
return aCollWrp; return aCollWrp;
} }
static void lcl_ClearTable(std::map<LanguageTag, std::unique_ptr<SvxAutoCorrectLanguageLists>>& rLangTable)
{
rLangTable.clear();
}
bool SvxAutoCorrect::IsAutoCorrectChar( sal_Unicode cChar ) bool SvxAutoCorrect::IsAutoCorrectChar( sal_Unicode cChar )
{ {
return cChar == '\0' || cChar == '\t' || cChar == 0x0a || return cChar == '\0' || cChar == '\t' || cChar == 0x0a ||
...@@ -316,7 +311,6 @@ SvxAutoCorrect::SvxAutoCorrect( const SvxAutoCorrect& rCpy ) ...@@ -316,7 +311,6 @@ SvxAutoCorrect::SvxAutoCorrect( const SvxAutoCorrect& rCpy )
SvxAutoCorrect::~SvxAutoCorrect() SvxAutoCorrect::~SvxAutoCorrect()
{ {
lcl_ClearTable(*m_pLangTable);
delete m_pLangTable; delete m_pLangTable;
delete pCharClass; delete pCharClass;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment