binaryurp/source/cache.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 598243b2d8e8bd3496d88affdbccee6c11566c69 Author: Alexander Wilms <f.alexander.wi...@gmail.com> Date: Tue Feb 25 17:43:38 2014 +0100 Remove visual noise from binaryurp Change-Id: I863499cccfe586b570d0021e143718bd3e4e1181 Reviewed-on: https://gerrit.libreoffice.org/8236 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/binaryurp/source/cache.hxx b/binaryurp/source/cache.hxx index 7e5ba89..a580c5e 100644 --- a/binaryurp/source/cache.hxx +++ b/binaryurp/source/cache.hxx @@ -60,7 +60,7 @@ public: typedef std::pair<typename LruItMap::iterator,bool> MapPair; MapPair aMP = map_.insert( MappedType( list_.begin(), 0)); *pbFound = !aMP.second; - + if( !aMP.second) { // insertion not needed => found the entry list_.pop_front(); // remove the temp entry list_.splice( list_.begin(), list_, aMP.first->first); // the found entry is moved to front
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits