To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=41790
Issue #:|41790
Summary:|testshl2 has some issues with stl code
Component:|api
Version:|680m66
Platform:|All
URL:|
OS/Version:|All
Status:|NEW
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P4
Subcomponent:|code
Assigned to:|lla
Reported by:|lla
------- Additional comments from [EMAIL PROTECTED] Tue Feb 1 03:34:21 -0800
2005 -------
a vector iterator isn't a pointer in every STL version and in empty vector's not
NULL every time.
This is the fix.
diff -r1.4 getopt.cxx
556c556
< if ( nameVec.end() ) {
---
>> if ( !nameVec.empty() ) {
560c560
< if ( paramVec.end() ) {
---
>> if ( !paramVec.empty() ) {
860c860
< if (m_opthash[opt].begin())
---
>> if (!m_opthash[opt].empty())
---------------------------------------------------------------------
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]