Issue 14217 - starmath compilation with newer gccs
Summary: starmath compilation with newer gccs
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 Beta2
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: thomas.lange
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-07 22:25 UTC by pavel
Modified: 2013-08-07 14:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description pavel 2003-05-07 22:25:18 UTC
Hi,

this is using newer gcc (pre-3.3):

/data/oo/BuildDir/ooo_11beta2_src/starmath/source/cfgitem.cxx:915: error:
ambiguous overload for `int == const String' operator
/data/oo/BuildDir/ooo_11beta2_src/solver/644/unxlngi4.pro/inc/tools/string.hxx:639:
error: candidates are: BOOL operator==(const String&, const String&)

This is on this line:

        if (0 == aUsedList.GetFontFormatId( pFormat[k] ))
Comment 1 Martin Hollmichel 2003-05-08 13:33:04 UTC
reassined to Thomas.
Comment 2 thomas.lange 2003-05-08 13:48:45 UTC
Should have been:
  if (0 == aUsedList.GetFontFormatId( pFormat[k] ).Len())
Comment 3 Martin Hollmichel 2003-05-09 10:58:57 UTC
commited to beta2 branch.
Comment 4 pavel 2003-05-09 11:27:02 UTC
Thanks.