summaryrefslogtreecommitdiff
path: root/editeng/source/misc
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/misc')
-rw-r--r--editeng/source/misc/splwrap.cxx5
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;