summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-26 10:19:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-26 10:19:58 +0200
commit22730b9f485fe23266d6d5e789dbc00c4f4cc5e4 (patch)
tree26262023ecb1d2da34248f7980f06f2225eac59c
parent2b5cbaea8321b281be076b089c9de61742401401 (diff)
The unused source_arena arg to alloc/freeExec can just be null
Change-Id: I16f8a9e8f421215fe5d392ba3f1f304618d70174
-rw-r--r--bridges/source/cpp_uno/shared/vtablefactory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/shared/vtablefactory.cxx b/bridges/source/cpp_uno/shared/vtablefactory.cxx
index 325f9e326f11..2daf76b17716 100644
--- a/bridges/source/cpp_uno/shared/vtablefactory.cxx
+++ b/bridges/source/cpp_uno/shared/vtablefactory.cxx
@@ -179,7 +179,7 @@ VtableFactory::VtableFactory(): m_arena(
rtl_arena_create(
"bridges::cpp_uno::shared::VtableFactory",
sizeof (void *), // to satisfy alignment requirements
- 0, reinterpret_cast< rtl_arena_type * >(-1), allocExec, freeExec, 0))
+ 0, nullptr, allocExec, freeExec, 0))
{
if (m_arena == 0) {
throw std::bad_alloc();