summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-04 14:17:09 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-04 14:25:41 +0300
commitd5a5be9e7d29cad539d6870c251988fd5490db6d (patch)
treea7b5bdc0d17fcf15134d8eaf12eb9c9df4ab7dbc /vcl/win
parent779ae5ee23c601e2b93f03c04c61cb1505d06a5e (diff)
WaE: unreachable code
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/source/gdi/salgdi3.cxx2
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 );