sw/source/core/access/accmap.cxx | 19 ------------------- 1 file changed, 19 deletions(-)
New commits: commit 214dd03166aad251545d7db8aadf5c019c174790 Author: Takeshi Abe <t...@fixedpoint.jp> Date: Tue Oct 18 12:30:25 2016 +0900 sw: Just iterating iteraters is boring Change-Id: I685501d003f73d83f3eb590e03f1333d15b33c07 Reviewed-on: https://gerrit.libreoffice.org/29987 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Takeshi Abe <t...@fixedpoint.jp> diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx index 4775ccf..f1b63ca 100644 --- a/sw/source/core/access/accmap.cxx +++ b/sw/source/core/access/accmap.cxx @@ -575,9 +575,6 @@ 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); } @@ -1732,22 +1729,6 @@ SwAccessibleMap::~SwAccessibleMap() osl::MutexGuard aGuard( maEventMutex ); #if OSL_DEBUG_LEVEL > 0 assert(!(mpEvents || mpEventMap)); - if( mpEvents ) - { - SwAccessibleEventList_Impl::iterator aIter = mpEvents->begin(); - while( aIter != mpEvents->end() ) - { - ++aIter; - } - } - if( mpEventMap ) - { - SwAccessibleEventMap_Impl::iterator aIter = mpEventMap->begin(); - while( aIter != mpEventMap->end() ) - { - ++aIter; - } - } #endif delete mpEventMap; mpEventMap = nullptr; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits