[Libreoffice-commits] .: editeng/inc editeng/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Oct 31 08:53:31 PDT 2012
editeng/inc/editeng/svxacorr.hxx | 3 ---
editeng/source/misc/svxacorr.cxx | 8 --------
2 files changed, 11 deletions(-)
New commits:
commit c21f65b4d94cb250ceee8a8c1eed21fa8876a470
Author: Marcos Paulo de Souza <marcos.souza.org at gmail.com>
Date: Wed Oct 31 00:50:28 2012 -0200
Remove unused method in editeng
Change-Id: Ia283f2e70fa623d0155b6de51ad5441163505cc0
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org at gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/945
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/editeng/inc/editeng/svxacorr.hxx b/editeng/inc/editeng/svxacorr.hxx
index cb5ec5d..737b5b0 100644
--- a/editeng/inc/editeng/svxacorr.hxx
+++ b/editeng/inc/editeng/svxacorr.hxx
@@ -342,9 +342,6 @@ public:
LanguageType eLang = LANGUAGE_SYSTEM )
{ return _GetLanguageList( eLang ).PutText(rShort, rShell ); }
- // - Delete a entry
- sal_Bool DeleteText( const String& rShort, LanguageType eLang = LANGUAGE_SYSTEM);
-
sal_Bool MakeCombinedChanges( std::vector<SvxAutocorrWord>& aNewEntries,
std::vector<SvxAutocorrWord>& aDeleteEntries,
LanguageType eLang = LANGUAGE_SYSTEM );
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 45f63a9..d6995f6 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -1604,14 +1604,6 @@ sal_Bool SvxAutoCorrect::PutText( const String& rShort, const String& rLong,
return sal_False;
}
- // - Delete an entry
-sal_Bool SvxAutoCorrect::DeleteText( const String& rShort, LanguageType eLang )
-{
- boost::ptr_map<LanguageType, SvxAutoCorrectLanguageLists>::iterator nTmpVal = pLangTable->find(eLang);
- if(nTmpVal != pLangTable->end())
- return nTmpVal->second->DeleteText(rShort);
- return sal_False;
-}
sal_Bool SvxAutoCorrect::MakeCombinedChanges( std::vector<SvxAutocorrWord>& aNewEntries,
std::vector<SvxAutocorrWord>& aDeleteEntries,
LanguageType eLang )
More information about the Libreoffice-commits
mailing list