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

Samuel Mehrbrodt Samuel.Mehrbrodt at cib.de
Fri Jan 13 15:47:33 UTC 2017


 bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-i386.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f86845b60642cb9381f18ea646ea8806597eb4eb
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date:   Fri Jan 13 15:40:57 2017 +0000

    iOS bridge: Log function names, not string pointers
    
    Change-Id: I5db7a014e671bbf4b4eca9fcbaba4fdc2363e0f5
    Reviewed-on: https://gerrit.libreoffice.org/33053
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-i386.cxx b/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-i386.cxx
index ae661903..7189bd7 100644
--- a/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-i386.cxx
+++ b/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-i386.cxx
@@ -260,7 +260,7 @@ extern "C" void cpp_vtable_call(
               ", pThis=" << pThis << ", pCppI=" << pCppI <<
               std::dec << ", nFunctionIndex=" << nFunctionIndex << ", nVtableOffset=" << nVtableOffset );
 
-    SAL_INFO( "bridges.ios", "name=" << pTypeDescr->aBase.pTypeName );
+    SAL_INFO( "bridges.ios", "name=" << OUString::unacquired(&pTypeDescr->aBase.pTypeName) );
 
     assert( nFunctionIndex < pTypeDescr->nMapFunctionIndexToMemberIndex );
 
@@ -276,7 +276,7 @@ extern "C" void cpp_vtable_call(
 
     TypeDescription aMemberDescr( pTypeDescr->ppAllMembers[nMemberPos] );
 
-    SAL_INFO( "bridges.ios", "Calling " << aMemberDescr.get()->pTypeName );
+    SAL_INFO( "bridges.ios", "Calling " << OUString::unacquired(&aMemberDescr.get()->pTypeName) );
 
     switch (aMemberDescr.get()->eTypeClass)
     {


More information about the Libreoffice-commits mailing list