rpms/openoffice.org/devel workspace.configrefactor01.patch,1.1,1.2
Caolan McNamara (caolanm)
fedora-extras-commits at redhat.com
Thu May 24 12:45:44 UTC 2007
Author: caolanm
Update of /cvs/pkgs/rpms/openoffice.org/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11689
Modified Files:
workspace.configrefactor01.patch
Log Message:
iterators are not pointers
workspace.configrefactor01.patch:
Index: workspace.configrefactor01.patch
===================================================================
RCS file: /cvs/pkgs/rpms/openoffice.org/devel/workspace.configrefactor01.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- workspace.configrefactor01.patch 21 Feb 2007 16:57:15 -0000 1.1
+++ workspace.configrefactor01.patch 24 May 2007 12:45:39 -0000 1.2
@@ -8153,8 +8153,8 @@
public:
- ChildList& GetSet() {return m_aChildList;}
- ChildList const& GetSet() const {return m_aChildList;}
-+ ChildList::iterator begin() const { return const_cast<configmgr::INode **>(m_aChildList.begin()); }
-+ ChildList::iterator end() const { return const_cast<configmgr::INode **>(m_aChildList.end()); }
++ ChildList::iterator begin() const { return const_cast<ChildList*>(&m_aChildList)->begin(); }
++ ChildList::iterator end() const { return const_cast<ChildList*>(&m_aChildList)->end(); }
+ INode *erase(INode *pNode);
+ ChildList::iterator find(INode *pNode) const;
+ std::pair<ChildList::iterator, bool> insert(INode *aInsert);
More information about the fedora-extras-commits
mailing list