configmgr/source/nodemap.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 58ceb16141eb003d921049cc231578ff2d685e60 Author: Michael Meeks <michael.me...@collabora.com> Date: Tue Jul 8 09:39:03 2014 +0100 configmgr: fix node cache clearing. Change-Id: Idd6c227b8f50446c1d3c48385de6c843faf47466 diff --git a/configmgr/source/nodemap.hxx b/configmgr/source/nodemap.hxx index dcfac2b..a000b30 100644 --- a/configmgr/source/nodemap.hxx +++ b/configmgr/source/nodemap.hxx @@ -52,8 +52,8 @@ class NodeMap iterator end() { return maImpl.end(); } const_iterator end() const { return maImpl.end(); } - rtl::Reference<Node> &operator[](const OUString &aStr) { return maImpl[aStr]; /* clearCache(); */ } - std::pair<iterator,bool> insert(const value_type &vt) { return maImpl.insert(vt); /* clearCache(); */ } + rtl::Reference<Node> &operator[](const OUString &aStr) { clearCache(); return maImpl[aStr]; } + std::pair<iterator,bool> insert(const value_type &vt) { clearCache(); return maImpl.insert(vt); } void clear() { maImpl.clear(); clearCache(); } void erase(const iterator &it) { maImpl.erase(it); clearCache(); } void erase(const OUString &aStr) { maImpl.erase(aStr); clearCache(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits