summaryrefslogtreecommitdiff
path: root/editeng/source/misc
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/misc')
-rw-r--r--editeng/source/misc/splwrap.cxx17
-rw-r--r--editeng/source/misc/svxacorr.cxx40
2 files changed, 0 insertions, 57 deletions
diff --git a/editeng/source/misc/splwrap.cxx b/editeng/source/misc/splwrap.cxx
index bf2cf17601da..6ddafdf6b09b 100644
--- a/editeng/source/misc/splwrap.cxx
+++ b/editeng/source/misc/splwrap.cxx
@@ -277,23 +277,6 @@ bool SvxSpellWrapper::SpellContinue()
return false;
}
-void SvxSpellWrapper::AutoCorrect( const OUString&, const OUString& )
-{
-}
-
-void SvxSpellWrapper::ScrollArea()
-{ // Set Scroll area
-}
-
-void SvxSpellWrapper::ChangeWord( const OUString&, const sal_uInt16 )
-{ // Insert Word
-}
-
-void SvxSpellWrapper::ChangeThesWord( const OUString& )
-{
- // replace word due to Thesaurus.
-}
-
void SvxSpellWrapper::ReplaceAll( const OUString &, sal_Int16 )
{ // Replace Word from the Replace list
}
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 070ab119f052..635c751b6c24 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -2653,46 +2653,6 @@ bool SvxAutoCorrectLanguageLists::PutText( const OUString& rShort,
return bRet;
}
-// Delete an entry
-bool SvxAutoCorrectLanguageLists::DeleteText( const OUString& rShort )
-{
- // First get the current list!
- GetAutocorrWordList();
-
- MakeUserStorage_Impl();
-
- tools::SvRef<SotStorage> xStg = new SotStorage( sUserAutoCorrFile, STREAM_READWRITE );
- bool bRet = xStg.Is() && SVSTREAM_OK == xStg->GetError();
- if( bRet )
- {
- SvxAutocorrWord aTmp( rShort, rShort );
- SvxAutocorrWord *pFnd = pAutocorr_List->FindAndRemove( &aTmp );
- if( pFnd )
- {
- if( !pFnd->IsTextOnly() )
- {
- OUString aName( rShort );
- if (xStg->IsOLEStorage())
- aName = EncryptBlockName_Imp(aName);
- else
- GeneratePackageName ( rShort, aName );
- if( xStg->IsContained( aName ) )
- {
- xStg->Remove( aName );
- bRet = xStg->Commit();
- }
-
- }
- delete pFnd;
- MakeBlocklist_Imp( *xStg );
- xStg = 0;
- }
- else
- bRet = false;
- }
- return bRet;
-}
-
// Keep the list sorted ...
struct CompareSvxAutocorrWordList
{