summaryrefslogtreecommitdiff
path: root/include/comphelper/weakbag.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-19 12:51:29 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-20 07:05:25 +0000
commit1b62841b1859ae3443e2bf1ebe99ec3d6afb6cc2 (patch)
treee3b7af8a34c55d7aad95752ad5d642a271523d08 /include/comphelper/weakbag.hxx
parentb1659c95b0620cfd1291f889eae767757f696ae1 (diff)
com::sun::star->css in include/comphelper
Change-Id: Ice569b724732da1fd67a18a4ccf2f92f530cd689 Reviewed-on: https://gerrit.libreoffice.org/19459 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/comphelper/weakbag.hxx')
-rw-r--r--include/comphelper/weakbag.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/comphelper/weakbag.hxx b/include/comphelper/weakbag.hxx
index 9ed55fb41489..f23f9227057e 100644
--- a/include/comphelper/weakbag.hxx
+++ b/include/comphelper/weakbag.hxx
@@ -44,16 +44,16 @@ public:
@param e
a non-null reference.
*/
- void add(com::sun::star::uno::Reference< T > const & e) {
+ void add(css::uno::Reference< T > const & e) {
OSL_ASSERT(e.is());
for (typename WeakReferenceList::iterator i(m_list.begin()); i != m_list.end();) {
- if (com::sun::star::uno::Reference< T >(*i).is()) {
+ if (css::uno::Reference< T >(*i).is()) {
++i;
} else {
i = m_list.erase(i);
}
}
- m_list.push_back(com::sun::star::uno::WeakReference< T >(e));
+ m_list.push_back(css::uno::WeakReference< T >(e));
}
/**
@@ -62,19 +62,19 @@ public:
@return
a living reference, or null if there are none.
*/
- com::sun::star::uno::Reference< T > remove() {
+ css::uno::Reference< T > remove() {
while (!m_list.empty()) {
- com::sun::star::uno::Reference< T > r(m_list.front());
+ css::uno::Reference< T > r(m_list.front());
m_list.pop_front();
if (r.is()) {
return r;
}
}
- return com::sun::star::uno::Reference< T >();
+ return css::uno::Reference< T >();
}
private:
- typedef std::list< com::sun::star::uno::WeakReference< T > > WeakReferenceList;
+ typedef std::list< css::uno::WeakReference< T > > WeakReferenceList;
WeakReferenceList m_list;
};