To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=114706
                 Issue #|114706
                 Summary|vcl: ImplDevFontList::Add loop always completes on fir
                        |st iteration ?
               Component|gsl
                 Version|DEV300m88
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|hdu
             Reported by|cmc





------- Additional comments from c...@openoffice.org Thu Sep 23 14:02:00 +0000 
2010 -------
cmc->hdu: in source/gdi/outdev3.cxx ImplDevFontList::Add we have...

String aMapNames = pNewData->maMapNames;

for( xub_StrLen nMapNameIndex = 0; nMapNameIndex != STRING_NOTFOUND; )
{

    if( aMapNames.Len() >= nMapNameIndex )
        break;

    "some stuff"

}

under what circumstances could "some stuff" be executed ?, I mean aMapNames is
always going to be >= 0 right >, and nMapNameIndex is always going to be 0 on
the first iteration through there, so that loop will always break out the first
time its entered. Or am I having a bad day and missing the obvious

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to