[Libreoffice-commits] .: comphelper/inc
Joseph Powers
jpowers at kemper.freedesktop.org
Sun Aug 21 07:36:55 PDT 2011
comphelper/inc/comphelper/weakbag.hxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 25ad04f7183052fc1d2e8750ced06fd41a982139
Author: Joseph Powers <jpowers27 at cox.net>
Date: Sun Aug 21 07:36:28 2011 -0700
Rename List -> WeakReferenceList
Just to clearify which List we're talking about.
diff --git a/comphelper/inc/comphelper/weakbag.hxx b/comphelper/inc/comphelper/weakbag.hxx
index b1c4433..2d6fdfa 100644
--- a/comphelper/inc/comphelper/weakbag.hxx
+++ b/comphelper/inc/comphelper/weakbag.hxx
@@ -55,7 +55,7 @@ public:
*/
void add(com::sun::star::uno::Reference< T > const & e) {
OSL_ASSERT(e.is());
- for (typename List::iterator i(m_list.begin()); i != m_list.end();) {
+ for (typename WeakReferenceList::iterator i(m_list.begin()); i != m_list.end();) {
if (com::sun::star::uno::Reference< T >(*i).is()) {
++i;
} else {
@@ -83,9 +83,9 @@ public:
}
private:
- typedef std::list< com::sun::star::uno::WeakReference< T > > List;
+ typedef std::list< com::sun::star::uno::WeakReference< T > > WeakReferenceList;
- List m_list;
+ WeakReferenceList m_list;
};
}
More information about the Libreoffice-commits
mailing list