Apache OpenOffice (AOO) Bugzilla – Issue 41790
testshl2 has some issues with stl code
Last modified: 2013-02-24 21:09:15 UTC
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())
There was a bug in creation of this bug, so please use #i41791# instead *** This issue has been marked as a duplicate of 41791 ***
closed due to double.