diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-02-04 13:31:00 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-02-04 13:31:00 +0000 |
commit | dfa576f80a6bf07027abc853cb2d30a946e26a98 (patch) | |
tree | 4361bf5dc71ac3873289eb4c7ff1c013c527ca9e /stoc | |
parent | 6d25fdc93ea230aa04dacbcb2cafa8596d567a06 (diff) |
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
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/corereflection/lrucache.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
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()) |