summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/acorrect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/edit/acorrect.cxx')
-rw-r--r--sw/source/core/edit/acorrect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/edit/acorrect.cxx b/sw/source/core/edit/acorrect.cxx
index 18c1d19b93f4..f0e5e3d33d84 100644
--- a/sw/source/core/edit/acorrect.cxx
+++ b/sw/source/core/edit/acorrect.cxx
@@ -425,7 +425,7 @@ LanguageType SwAutoCorrDoc::GetLanguage( sal_Int32 nPos, bool bPrevPara ) const
: rCrsr.GetPoint()->nNode ).GetNode().GetTextNode();
if( pNd )
- eRet = pNd->GetLang( nPos, 0 );
+ eRet = pNd->GetLang( nPos );
if(LANGUAGE_SYSTEM == eRet)
eRet = GetAppLanguage();
return eRet;