From dfa576f80a6bf07027abc853cb2d30a946e26a98 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Wed, 4 Feb 2004 13:31:00 +0000 Subject: INTEGRATION: CWS ooo20031216 (1.2.126); FILE MERGED 2003/12/13 13:50:20 waratah 1.2.126.1: #i1858# implement typename where it is needed --- stoc/source/corereflection/lrucache.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'stoc') diff --git a/stoc/source/corereflection/lrucache.hxx b/stoc/source/corereflection/lrucache.hxx index d96acc628a7b..ce8b15169699 100644 --- a/stoc/source/corereflection/lrucache.hxx +++ b/stoc/source/corereflection/lrucache.hxx @@ -2,9 +2,9 @@ * * $RCSfile: lrucache.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: svesik $ $Date: 2000-11-23 01:55:21 $ + * last change: $Author: hr $ $Date: 2004-02-04 14:31:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -189,7 +189,7 @@ template< class t_Key, class t_Val, class t_KeyHash, class t_KeyEqual > inline sal_Bool LRU_Cache< t_Key, t_Val, t_KeyHash, t_KeyEqual >::hasValue( const t_Key & rKey ) const { ::osl::MutexGuard aGuard( _aCacheMutex ); - const t_Key2Element::const_iterator iFind( _aKey2Element.find( rKey ) ); + const typename t_Key2Element::const_iterator iFind( _aKey2Element.find( rKey ) ); return (iFind != _aKey2Element.end()); } //__________________________________________________________________________________________________ @@ -197,7 +197,7 @@ template< class t_Key, class t_Val, class t_KeyHash, class t_KeyEqual > inline t_Val LRU_Cache< t_Key, t_Val, t_KeyHash, t_KeyEqual >::getValue( const t_Key & rKey ) const { ::osl::MutexGuard aGuard( _aCacheMutex ); - const t_Key2Element::const_iterator iFind( _aKey2Element.find( rKey ) ); + const typename t_Key2Element::const_iterator iFind( _aKey2Element.find( rKey ) ); if (iFind != _aKey2Element.end()) { CacheEntry * pEntry = (*iFind).second; @@ -219,7 +219,7 @@ inline void LRU_Cache< t_Key, t_Val, t_KeyHash, t_KeyEqual >::setValue( if (_nCachedElements > 0) { ::osl::MutexGuard aGuard( _aCacheMutex ); - const t_Key2Element::const_iterator iFind( _aKey2Element.find( rKey ) ); + const typename t_Key2Element::const_iterator iFind( _aKey2Element.find( rKey ) ); CacheEntry * pEntry; if (iFind == _aKey2Element.end()) -- cgit