To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=92949


User cmc changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |STARTED
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Wed Aug 20 14:27:49 +0000 
2008 -------
The workspace is cmcfixes48.

re "it should be probably rewritten like this", i.e. like the initial patch
does, right ?

     String& rFontName, String& rSubstFontName, USHORT& rFlags ) const
 {
     FontSubstList::const_iterator it = maFontSubstList.begin();
-    for( int nCount = 0; nCount++ != nIndex; ++it );
-        if( it == maFontSubstList.end() )
-           return false;
+    for( int nCount = 0; (it != maFontSubstList.end()) && (nCount++ != nIndex);
++it ) ;
+    if( it == maFontSubstList.end() )
+        return false;
 

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to