diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-04 14:17:09 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-04 14:25:41 +0300 |
commit | d5a5be9e7d29cad539d6870c251988fd5490db6d (patch) | |
tree | a7b5bdc0d17fcf15134d8eaf12eb9c9df4ab7dbc /vcl | |
parent | 779ae5ee23c601e2b93f03c04c61cb1505d06a5e (diff) |
WaE: unreachable code
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/source/gdi/salgdi3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/source/gdi/salgdi3.cxx b/vcl/win/source/gdi/salgdi3.cxx index fdb92969cc4b..db072f6f3601 100644 --- a/vcl/win/source/gdi/salgdi3.cxx +++ b/vcl/win/source/gdi/salgdi3.cxx @@ -535,7 +535,7 @@ bool WinGlyphFallbackSubstititution::HasMissingChars( const ImplFontData* pFace, int nMatchCount = 0; // static const int nMaxMatchCount = 1; // TODO: tolerate more missing characters? const sal_Int32 nStrLen = rMissingChars.getLength(); - for( sal_Int32 nStrIdx = 0; nStrIdx < nStrLen; ++nStrIdx ) + for( sal_Int32 nStrIdx = 0; nStrIdx < nStrLen; /* ++nStrIdx unreachable code, see the 'break' below */ ) { const sal_UCS4 uChar = rMissingChars.iterateCodePoints( &nStrIdx ); nMatchCount += pCharMap->HasChar( uChar ); |