loplugin:salbool: Automatic rewrite of sal_False/True

Change-Id: I8130752ca7ccd47cda91458e39fbb56470ee38e5
This commit is contained in:
Stephan Bergmann
2016-04-20 17:16:30 +02:00
parent f8ce00be4e
commit cde88284e8
2 changed files with 4 additions and 4 deletions

View File

@@ -226,7 +226,7 @@ namespace drawinglayer
}
case BreakupUnit_word:
{
css::i18n::Boundary nNextWordBoundary(xBreakIterator->getWordBoundary(rTxt, nTextPosition, rLocale, css::i18n::WordType::ANY_WORD, sal_True));
css::i18n::Boundary nNextWordBoundary(xBreakIterator->getWordBoundary(rTxt, nTextPosition, rLocale, css::i18n::WordType::ANY_WORD, true));
sal_Int32 a(nTextPosition);
for(; a < nTextPosition + nTextLength; a++)
@@ -250,7 +250,7 @@ namespace drawinglayer
}
}
nNextWordBoundary = xBreakIterator->getWordBoundary(rTxt, a + 1, rLocale, css::i18n::WordType::ANY_WORD, sal_True);
nNextWordBoundary = xBreakIterator->getWordBoundary(rTxt, a + 1, rLocale, css::i18n::WordType::ANY_WORD, true);
}
}

View File

@@ -1119,7 +1119,7 @@ namespace drawinglayer
sal_Int32 nDone;
sal_Int32 nNextCellBreak(mxBreakIterator->nextCharacters(rTxt, nTextPosition, rLocale, css::i18n::CharacterIteratorMode::SKIPCELL, 0, nDone));
css::i18n::Boundary nNextWordBoundary(mxBreakIterator->getWordBoundary(rTxt, nTextPosition, rLocale, css::i18n::WordType::ANY_WORD, sal_True));
css::i18n::Boundary nNextWordBoundary(mxBreakIterator->getWordBoundary(rTxt, nTextPosition, rLocale, css::i18n::WordType::ANY_WORD, true));
sal_Int32 nNextSentenceBreak(mxBreakIterator->endOfSentence(rTxt, nTextPosition, rLocale));
const OString aCommentStringA("XTEXT_EOC");
const OString aCommentStringB("XTEXT_EOW");
@@ -1136,7 +1136,7 @@ namespace drawinglayer
if(i == nNextWordBoundary.endPos)
{
mpMetaFile->AddAction(new MetaCommentAction(aCommentStringB, i - nTextPosition));
nNextWordBoundary = mxBreakIterator->getWordBoundary(rTxt, i + 1, rLocale, css::i18n::WordType::ANY_WORD, sal_True);
nNextWordBoundary = mxBreakIterator->getWordBoundary(rTxt, i + 1, rLocale, css::i18n::WordType::ANY_WORD, true);
}
if(i == nNextSentenceBreak)
{