sw/source/core/access/accmap.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 6f928deb55b5bcff3e8d11a5ace017732176e86a Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Jul 8 23:49:59 2015 +0200 Avoid loplugin:unreffun in non-debug build Change-Id: I1fbf5a355340e20de881a030bc75ebbfce960d4f diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx index 6a0883f..0716234 100644 --- a/sw/source/core/access/accmap.cxx +++ b/sw/source/core/access/accmap.cxx @@ -254,7 +254,9 @@ public: const SwFEShell *pFESh = nullptr, SwAccessibleObjShape_Impl **pSelShape = nullptr ) const; +#if OSL_DEBUG_LEVEL > 0 iterator begin() { return maMap.begin(); } +#endif iterator end() { return maMap.end(); } const_iterator cbegin() const { return maMap.cbegin(); } const_iterator cend() const { return maMap.cend(); } @@ -599,7 +601,9 @@ public: private: std::map <key_type,mapped_type,key_compare> maMap; public: +#if OSL_DEBUG_LEVEL > 0 iterator begin() { return maMap.begin(); } +#endif iterator end() { return maMap.end(); } iterator find(const key_type& key) { return maMap.find(key); } std::pair<iterator,bool> insert(const value_type& value ) { return maMap.insert(value); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits