[Libreoffice-commits] core.git: bridges/source

Stephan Bergmann sbergman at redhat.com
Fri Sep 26 01:20:31 PDT 2014


 bridges/source/cpp_uno/shared/vtablefactory.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 22730b9f485fe23266d6d5e789dbc00c4f4cc5e4
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Sep 26 10:19:58 2014 +0200

    The unused source_arena arg to alloc/freeExec can just be null
    
    Change-Id: I16f8a9e8f421215fe5d392ba3f1f304618d70174

diff --git a/bridges/source/cpp_uno/shared/vtablefactory.cxx b/bridges/source/cpp_uno/shared/vtablefactory.cxx
index 325f9e3..2daf76b 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();


More information about the Libreoffice-commits mailing list