diff options
Diffstat (limited to 'editeng/source/misc')
-rw-r--r-- | editeng/source/misc/splwrap.cxx | 3 | ||||
-rw-r--r-- | editeng/source/misc/svxacorr.cxx | 13 |
2 files changed, 5 insertions, 11 deletions
diff --git a/editeng/source/misc/splwrap.cxx b/editeng/source/misc/splwrap.cxx index 031d4050f78c..9ea4d8e6db7d 100644 --- a/editeng/source/misc/splwrap.cxx +++ b/editeng/source/misc/splwrap.cxx @@ -268,9 +268,8 @@ void SvxSpellWrapper::SpellEnd() ShowLanguageErrors(); } -bool SvxSpellWrapper::SpellContinue() +void SvxSpellWrapper::SpellContinue() { - return false; } void SvxSpellWrapper::ReplaceAll( const OUString &, sal_Int16 ) diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index 6568380344ac..8461634b4c8a 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -1206,8 +1206,7 @@ OUString SvxAutoCorrect::GetQuote( SvxAutoCorrDoc& rDoc, sal_Int32 nInsPos, return sRet; } -sal_uLong -SvxAutoCorrect::DoAutoCorrect( SvxAutoCorrDoc& rDoc, const OUString& rTxt, +void SvxAutoCorrect::DoAutoCorrect( SvxAutoCorrDoc& rDoc, const OUString& rTxt, sal_Int32 nInsPos, sal_Unicode cChar, bool bInsert, vcl::Window* pFrameWin ) { @@ -1418,8 +1417,6 @@ SvxAutoCorrect::DoAutoCorrect( SvxAutoCorrDoc& rDoc, const OUString& rTxt, } } while( false ); - - return nRet; } SvxAutoCorrectLanguageLists& SvxAutoCorrect::_GetLanguageList( @@ -1608,7 +1605,7 @@ bool SvxAutoCorrect::PutText( const OUString& rShort, const OUString& rLong, return false; } -bool SvxAutoCorrect::MakeCombinedChanges( std::vector<SvxAutocorrWord>& aNewEntries, +void SvxAutoCorrect::MakeCombinedChanges( std::vector<SvxAutocorrWord>& aNewEntries, std::vector<SvxAutocorrWord>& aDeleteEntries, LanguageType eLang ) { @@ -1616,14 +1613,12 @@ bool SvxAutoCorrect::MakeCombinedChanges( std::vector<SvxAutocorrWord>& aNewEntr auto const iter = m_pLangTable->find(aLanguageTag); if (iter != m_pLangTable->end()) { - return iter->second->MakeCombinedChanges( aNewEntries, aDeleteEntries ); + iter->second->MakeCombinedChanges( aNewEntries, aDeleteEntries ); } else if(CreateLanguageFile( aLanguageTag )) { - return m_pLangTable->find( aLanguageTag )->second->MakeCombinedChanges( aNewEntries, aDeleteEntries ); + m_pLangTable->find( aLanguageTag )->second->MakeCombinedChanges( aNewEntries, aDeleteEntries ); } - return false; - } // - return the replacement text (only for SWG-Format, all other |