summaryrefslogtreecommitdiff
path: root/editeng/source/misc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-03 08:56:35 +0200
committerNoel Grandin <noel@peralex.com>2016-03-03 09:42:49 +0200
commitb76842f63b19e9855fbdfee7c201ff73672464b6 (patch)
tree4f536710463b12facc661a90ddbd5993b538bb6f /editeng/source/misc
parent4dedf654d83ddc22c93d98fe6c7225b8e1e416bd (diff)
loplugin:unuseddefaultparams in editeng
Change-Id: I1dc0ba262c06bd69cf92aae20b344fe23f460f55
Diffstat (limited to 'editeng/source/misc')
-rw-r--r--editeng/source/misc/svxacorr.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 3d98c2d666e1..156f6a9766c2 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -716,8 +716,7 @@ bool SvxAutoCorrect::FnSetINetAttr( SvxAutoCorrDoc& rDoc, const OUString& rTxt,
bool SvxAutoCorrect::FnChgWeightUnderl( SvxAutoCorrDoc& rDoc, const OUString& rTxt,
- sal_Int32 , sal_Int32 nEndPos,
- LanguageType eLang )
+ sal_Int32 , sal_Int32 nEndPos )
{
// Condition:
// at the beginning: _ or * after Space with the following !Space
@@ -733,7 +732,7 @@ bool SvxAutoCorrect::FnChgWeightUnderl( SvxAutoCorrDoc& rDoc, const OUString& rT
bool bAlphaNum = false;
sal_Int32 nPos = nEndPos;
sal_Int32 nFndPos = -1;
- CharClass& rCC = GetCharClass( eLang );
+ CharClass& rCC = GetCharClass( LANGUAGE_SYSTEM );
while( nPos )
{