Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | IRIX: MipsPro doesn't allow const_interator == iterator | ||
---|---|---|---|
Product: | porting | Reporter: | nickb |
Component: | code | Assignee: | jens-heiner.rechtien |
Status: | CLOSED FIXED | QA Contact: | issues@porting <issues> |
Severity: | Trivial | ||
Priority: | P3 | CC: | issues, openoffice, sander_traveling |
Version: | OOo 1.1 RC | ||
Target Milestone: | OOo 1.1.1 | ||
Hardware: | SGI | ||
OS: | IRIX | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- | ||
Issue Depends on: | |||
Issue Blocks: | 809 |
Description
nickb
2003-07-30 04:46:53 UTC
Here is the diff: Index: jni_info.cxx =================================================================== RCS file: /cvs/udk/bridges/source/jni_uno/jni_info.cxx,v retrieving revision 1.8 diff -u -r1.8 jni_info.cxx --- jni_info.cxx 23 Apr 2003 16:37:12 -0000 1.8 +++ jni_info.cxx 30 Jul 2003 03:50:39 -0000 @@ -435,7 +435,7 @@ *reinterpret_cast< OUString const * >( &td->pTypeName ); JNI_type_info const * info; ClearableMutexGuard guard( m_mutex ); - t_str2type::const_iterator iFind( m_type_map.find( uno_name ) ); + t_str2type::iterator iFind( m_type_map.find( uno_name ) ); if (m_type_map.end() == iFind) { guard.clear(); @@ -462,7 +462,7 @@ *reinterpret_cast< OUString const * >( &type->pTypeName ); JNI_type_info const * info; ClearableMutexGuard guard( m_mutex ); - t_str2type::const_iterator iFind( m_type_map.find( uno_name ) ); + t_str2type::iterator iFind( m_type_map.find( uno_name ) ); if (m_type_map.end() == iFind) { guard.clear(); @@ -489,7 +489,7 @@ JNI_type_info const * info; ClearableMutexGuard guard( m_mutex ); - t_str2type::const_iterator iFind( m_type_map.find( uno_name ) ); + t_str2type::iterator iFind( m_type_map.find( uno_name ) ); if (m_type_map.end() == iFind) { guard.clear(); More found in: comphelper/source/property/MasterPropertySetInfo.cxx comphelper/source/property/ChainablePropertySetInfo.cxx set target milestone to 1.1.1 commited in ooo111fix1 I strongly disagree with these patches, which make the code worse. There are good reasons preferring a const_iterator over non-const iterator. Please choose another solution to workaround the IRIX MipsPro compiler problem, e.g. patch the stlport const_iterator typedef. added to CC. reopened. revoked and set target to 1.1.2 . mh->hr: was the last action to set target to 1.1.1 intentended, please provide addtional information. . closing ... |