summaryrefslogtreecommitdiff
path: root/stoc/source/security/lru_cache.h
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-12 12:51:35 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-12 14:19:49 +0100
commitd0c187cc8cc78b661726dad8a75d20af595085f1 (patch)
tree4940c13a4f891127a4b4e426f10f25e340790ac2 /stoc/source/security/lru_cache.h
parent7f656740d865bcdf77a49a41d47aedf401a80795 (diff)
OSL_TRACE: Use format string
Diffstat (limited to 'stoc/source/security/lru_cache.h')
-rw-r--r--stoc/source/security/lru_cache.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/stoc/source/security/lru_cache.h b/stoc/source/security/lru_cache.h
index 4b7440e9dce8..123e0b181a19 100644
--- a/stoc/source/security/lru_cache.h
+++ b/stoc/source/security/lru_cache.h
@@ -203,7 +203,7 @@ inline t_val const * lru_cache< t_key, t_val, t_hashKey, t_equalKey >::lookup(
buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\" from cache") );
::rtl::OString str( ::rtl::OUStringToOString(
buf.makeStringAndClear(), RTL_TEXTENCODING_ASCII_US ) );
- OSL_TRACE( str.getStr() );
+ OSL_TRACE( "%s", str.getStr() );
#endif
return &entry->m_val;
}
@@ -232,7 +232,7 @@ inline void lru_cache< t_key, t_val, t_hashKey, t_equalKey >::set(
buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\" from cache") );
::rtl::OString str( ::rtl::OUStringToOString(
buf.makeStringAndClear(), RTL_TEXTENCODING_ASCII_US ) );
- OSL_TRACE( str.getStr() );
+ OSL_TRACE( "%s", str.getStr() );
}
#endif
m_key2element.erase( entry->m_key );
@@ -253,7 +253,7 @@ inline void lru_cache< t_key, t_val, t_hashKey, t_equalKey >::set(
buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\" in cache") );
::rtl::OString str( ::rtl::OUStringToOString(
buf.makeStringAndClear(), RTL_TEXTENCODING_ASCII_US ) );
- OSL_TRACE( str.getStr() );
+ OSL_TRACE( "%s", str.getStr() );
#endif
}
entry->m_val = val;