summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-20 10:34:01 +0200
committerNoel Grandin <noel@peralex.com>2016-04-21 08:32:47 +0200
commit5abc669599001bf888b97c4d3c2715e1fb7523b9 (patch)
tree2407c6fc040a795e6ffc69de02ba940285c04c7f /lingucomponent
parent5bb308a9ad16f6002486a60e4a753693818580b6 (diff)
new plugin stylepolice
check for local variables which follow our member field naming convention, which is highly confusing Change-Id: Idacedf7145d09843e96a584237b385f7662eea10
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/spellcheck/spell/sspellimp.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
index 6fb33cf520b6..69836bc22cb4 100644
--- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx
+++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
@@ -356,22 +356,22 @@ sal_Int16 SpellChecker::GetSpellFailure( const OUString &rWord, const Locale &rL
int rVal = pMS->spell(aWrd.getStr());
if (rVal != 1) {
if (extrachar && (eEnc != RTL_TEXTENCODING_UTF8)) {
- OUStringBuffer mBuf(nWord);
- n = mBuf.getLength();
+ OUStringBuffer aBuf(nWord);
+ n = aBuf.getLength();
for (sal_Int32 ix=n-1; ix >= 0; ix--)
{
- switch (mBuf[ix]) {
- case 0xFB00: mBuf.remove(ix, 1); mBuf.insert(ix, "ff"); break;
- case 0xFB01: mBuf.remove(ix, 1); mBuf.insert(ix, "fi"); break;
- case 0xFB02: mBuf.remove(ix, 1); mBuf.insert(ix, "fl"); break;
- case 0xFB03: mBuf.remove(ix, 1); mBuf.insert(ix, "ffi"); break;
- case 0xFB04: mBuf.remove(ix, 1); mBuf.insert(ix, "ffl"); break;
+ switch (aBuf[ix]) {
+ case 0xFB00: aBuf.remove(ix, 1); aBuf.insert(ix, "ff"); break;
+ case 0xFB01: aBuf.remove(ix, 1); aBuf.insert(ix, "fi"); break;
+ case 0xFB02: aBuf.remove(ix, 1); aBuf.insert(ix, "fl"); break;
+ case 0xFB03: aBuf.remove(ix, 1); aBuf.insert(ix, "ffi"); break;
+ case 0xFB04: aBuf.remove(ix, 1); aBuf.insert(ix, "ffl"); break;
case 0x200C:
- case 0x200D: mBuf.remove(ix, 1); break;
+ case 0x200D: aBuf.remove(ix, 1); break;
}
}
- OUString mWord(mBuf.makeStringAndClear());
- OString bWrd(OU2ENC(mWord, eEnc));
+ OUString aWord(aBuf.makeStringAndClear());
+ OString bWrd(OU2ENC(aWord, eEnc));
rVal = pMS->spell(bWrd.getStr());
if (rVal == 1) return -1;
}