diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-19 11:47:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-20 08:26:28 +0200 |
commit | ea537ecffa217e8ca3039998926accf27f6b12c0 (patch) | |
tree | 9f6e28c9e53f70fa5981e01cb5181fba20851b44 /editeng/source/misc | |
parent | d21d14c112312c639383ba9d9091380327dc0717 (diff) |
SvxSpellWrapper::ReplaceAll doesn't use it's second param
Change-Id: I79b82d37e6cf4c1dde474f0f90b6370c2359a0b3
Reviewed-on: https://gerrit.libreoffice.org/36673
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source/misc')
-rw-r--r-- | editeng/source/misc/splwrap.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/editeng/source/misc/splwrap.cxx b/editeng/source/misc/splwrap.cxx index 0ae986e5258e..7c7169a9a53f 100644 --- a/editeng/source/misc/splwrap.cxx +++ b/editeng/source/misc/splwrap.cxx @@ -253,7 +253,7 @@ void SvxSpellWrapper::SpellContinue() { } -void SvxSpellWrapper::ReplaceAll( const OUString &, sal_Int16 ) +void SvxSpellWrapper::ReplaceAll( const OUString & ) { // Replace Word from the Replace list } @@ -471,8 +471,7 @@ bool SvxSpellWrapper::FindSpellError() if (xEntry.is()) { // replace word without asking - ReplaceAll( xEntry->getReplacementText(), - LanguageTag( xAlt->getLocale() ).getLanguageType() ); + ReplaceAll( xEntry->getReplacementText() ); } else bSpell = false; |