From a1ead1a0281a369087f1b2cce09431542c29bece Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 5 Jul 2017 14:30:39 +0200 Subject: loplugin unnecessaryparan improvements Change-Id: I73e945d6ec53537a0da45f6b6291018c7f251a7e Reviewed-on: https://gerrit.libreoffice.org/39587 Tested-by: Jenkins Reviewed-by: Noel Grandin --- editeng/source/items/svxfont.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editeng') diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx index eede74c3d3bf..fb6384045a38 100644 --- a/editeng/source/items/svxfont.cxx +++ b/editeng/source/items/svxfont.cxx @@ -255,7 +255,7 @@ void SvxFont::DoOnCapitals(SvxDoCapitals &rDo) const while( nPos < nTxtLen ) { sal_uInt32 nCharacterType = aCharClass.getCharacterType( aCharString, 0 ); - if ( ( nCharacterType & css::i18n::KCharacterType::UPPER ) ) + if ( nCharacterType & css::i18n::KCharacterType::UPPER ) break; if ( aCharString == " " ) break; -- cgit