summaryrefslogtreecommitdiff
path: root/stoc/source/corereflection/lrucache.hxx
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 20:42:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-26 07:47:23 -0600
commit35e44118b8e55b2263bd10e8b11d9ac4e043228b (patch)
tree499003287173fc32dae7fda54324bf2fc4414c36 /stoc/source/corereflection/lrucache.hxx
parent65d6ecfd4e69c2f6b8346e8b655914d5ac5a0286 (diff)
Remove visual noise from stoc
Change-Id: I19edfb2796298c4870124d0d1e9488974a010bb8 Reviewed-on: https://gerrit.libreoffice.org/8316 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'stoc/source/corereflection/lrucache.hxx')
-rw-r--r--stoc/source/corereflection/lrucache.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/stoc/source/corereflection/lrucache.hxx b/stoc/source/corereflection/lrucache.hxx
index 1d21df16e630..a4292a1d4b5a 100644
--- a/stoc/source/corereflection/lrucache.hxx
+++ b/stoc/source/corereflection/lrucache.hxx
@@ -88,7 +88,7 @@ public:
*/
inline void clear();
};
-//__________________________________________________________________________________________________
+
template< class t_Key, class t_Val, class t_KeyHash, class t_KeyEqual >
inline LRU_Cache< t_Key, t_Val, t_KeyHash, t_KeyEqual >::LRU_Cache( sal_Int32 nCachedElements )
#ifdef __CACHE_DIAGNOSE
@@ -110,13 +110,13 @@ inline LRU_Cache< t_Key, t_Val, t_KeyHash, t_KeyEqual >::LRU_Cache( sal_Int32 nC
}
}
}
-//__________________________________________________________________________________________________
+
template< class t_Key, class t_Val, class t_KeyHash, class t_KeyEqual >
inline LRU_Cache< t_Key, t_Val, t_KeyHash, t_KeyEqual >::~LRU_Cache()
{
delete [] _pBlock;
}
-//__________________________________________________________________________________________________
+
template< class t_Key, class t_Val, class t_KeyHash, class t_KeyEqual >
inline void LRU_Cache< t_Key, t_Val, t_KeyHash, t_KeyEqual >::toFront( CacheEntry * pEntry ) const
{
@@ -138,7 +138,7 @@ inline void LRU_Cache< t_Key, t_Val, t_KeyHash, t_KeyEqual >::toFront( CacheEntr
_pHead = pEntry;
}
}
-//__________________________________________________________________________________________________
+
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
{
@@ -146,7 +146,7 @@ inline sal_Bool LRU_Cache< t_Key, t_Val, t_KeyHash, t_KeyEqual >::hasValue( cons
const typename t_Key2Element::const_iterator iFind( _aKey2Element.find( rKey ) );
return (iFind != _aKey2Element.end());
}
-//__________________________________________________________________________________________________
+
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
{
@@ -165,7 +165,7 @@ inline t_Val LRU_Cache< t_Key, t_Val, t_KeyHash, t_KeyEqual >::getValue( const t
}
return t_Val();
}
-//__________________________________________________________________________________________________
+
template< class t_Key, class t_Val, class t_KeyHash, class t_KeyEqual >
inline void LRU_Cache< t_Key, t_Val, t_KeyHash, t_KeyEqual >::setValue(
const t_Key & rKey, const t_Val & rValue )
@@ -203,7 +203,7 @@ inline void LRU_Cache< t_Key, t_Val, t_KeyHash, t_KeyEqual >::setValue(
toFront( pEntry );
}
}
-//__________________________________________________________________________________________________
+
template< class t_Key, class t_Val, class t_KeyHash, class t_KeyEqual >
inline void LRU_Cache< t_Key, t_Val, t_KeyHash, t_KeyEqual >::clear()
{
@@ -220,7 +220,7 @@ inline void LRU_Cache< t_Key, t_Val, t_KeyHash, t_KeyEqual >::clear()
#endif
}
-//==================================================================================================
+
struct FctHashOUString : public ::std::unary_function< const OUString &, size_t >
{
size_t operator()( const OUString & rKey ) const