diff options
Diffstat (limited to 'sal/rtl/alloc_arena.cxx')
-rw-r--r-- | sal/rtl/alloc_arena.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sal/rtl/alloc_arena.cxx b/sal/rtl/alloc_arena.cxx index 9f3b2d237274..c733ecded529 100644 --- a/sal/rtl/alloc_arena.cxx +++ b/sal/rtl/alloc_arena.cxx @@ -28,8 +28,6 @@ #include <string.h> #include <stdio.h> -extern AllocMode alloc_mode; - /* ================================================================= * * * arena internals. @@ -950,9 +948,6 @@ SAL_CALL rtl_arena_alloc ( { sal_Size size; - if (alloc_mode == AMode_SYSTEM) - return rtl_allocateMemory(*pSize); - size = RTL_MEMORY_ALIGN((*pSize), arena->m_quantum); if (size > arena->m_qcache_max) { @@ -1022,12 +1017,6 @@ SAL_CALL rtl_arena_free ( { if (arena != 0) { - if (alloc_mode == AMode_SYSTEM) - { - rtl_freeMemory(addr); - return; - } - size = RTL_MEMORY_ALIGN(size, arena->m_quantum); if (size > arena->m_qcache_max) { |