summaryrefslogtreecommitdiff
path: root/tools/source/memtools/mempool.cxx
diff options
context:
space:
mode:
authorPhilipp Riemer <ruderphilipp@gmail.com>2012-08-18 18:12:35 +0200
committerPhilipp Riemer <ruderphilipp@gmail.com>2012-08-18 18:33:50 +0200
commit42352dff5a8dc4c89fccf399359876aea7dc7d2d (patch)
tree7747642c5ee1c7465e8a684a35713f5dbd90dc82 /tools/source/memtools/mempool.cxx
parent0700d6a1f3524ab79b5114559fb2d15c7ba85112 (diff)
removed ascii-art and blank lines in tools/source
Change-Id: I3f95d12a8c325c96c586253b5d9bb7dce24c0858
Diffstat (limited to 'tools/source/memtools/mempool.cxx')
-rw-r--r--tools/source/memtools/mempool.cxx25
1 files changed, 0 insertions, 25 deletions
diff --git a/tools/source/memtools/mempool.cxx b/tools/source/memtools/mempool.cxx
index 2baa2ed03bc6..4fee6a5de3c0 100644
--- a/tools/source/memtools/mempool.cxx
+++ b/tools/source/memtools/mempool.cxx
@@ -17,19 +17,12 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "tools/mempool.hxx"
#include "osl/diagnose.h"
#include "rtl/alloc.h"
#include <stdio.h>
-/*************************************************************************
-|*
-|* FixedMemPool::FixedMemPool()
-|*
-*************************************************************************/
-
FixedMemPool::FixedMemPool(char const * pTypeName, sal_uInt16 nTypeSize)
: m_pTypeName (pTypeName)
{
@@ -39,35 +32,17 @@ FixedMemPool::FixedMemPool(char const * pTypeName, sal_uInt16 nTypeSize)
OSL_TRACE("FixedMemPool::ctor(\"%s\"): %p", m_pTypeName, m_pImpl);
}
-/*************************************************************************
-|*
-|* FixedMemPool::~FixedMemPool()
-|*
-*************************************************************************/
-
FixedMemPool::~FixedMemPool()
{
OSL_TRACE("FixedMemPool::dtor(\"%s\"): %p", m_pTypeName, m_pImpl);
rtl_cache_destroy ((rtl_cache_type*)(m_pImpl)), m_pImpl = 0;
}
-/*************************************************************************
-|*
-|* FixedMemPool::Alloc()
-|*
-*************************************************************************/
-
void* FixedMemPool::Alloc()
{
return rtl_cache_alloc ((rtl_cache_type*)(m_pImpl));
}
-/*************************************************************************
-|*
-|* FixedMemPool::Free()
-|*
-*************************************************************************/
-
void FixedMemPool::Free( void* pFree )
{
rtl_cache_free ((rtl_cache_type*)(m_pImpl), pFree);