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

Tor Lillqvist tml at collabora.com
Fri Aug 28 04:33:09 PDT 2015


 extensions/source/ole/oleobjw.cxx |    5 -----
 extensions/source/ole/unoobjw.cxx |    4 ----
 2 files changed, 9 deletions(-)

New commits:
commit 2de6bd04d9a40d746ebcd5d666efdbb30507623a
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Aug 28 14:31:29 2015 +0300

    Bin a few leftover (?) stderr printouts
    
    If they are truly needed, use SAL_INFO then.

diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx
index 5f57dda..30910da 100644
--- a/extensions/source/ole/oleobjw.cxx
+++ b/extensions/source/ole/oleobjw.cxx
@@ -127,11 +127,6 @@ IUnknownWrapper_Impl::~IUnknownWrapper_Impl()
      IT_Com it_c= ComPtrToWrapperMap.find( (sal_uInt32) m_spUnknown.p);
     if(it_c != ComPtrToWrapperMap.end())
         ComPtrToWrapperMap.erase(it_c);
-
-#if OSL_DEBUG_LEVEL > 0
-    fprintf(stderr,"[automation bridge] ComPtrToWrapperMap  contains: %i \n",
-            ComPtrToWrapperMap.size());
-#endif
 }
 
 Any IUnknownWrapper_Impl::queryInterface(const Type& t)
diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx
index 8286026..a8a45aa 100644
--- a/extensions/source/ole/unoobjw.cxx
+++ b/extensions/source/ole/unoobjw.cxx
@@ -99,10 +99,6 @@ InterfaceOleWrapper_Impl::~InterfaceOleWrapper_Impl()
     IT_Uno it= UnoObjToWrapperMap.find( (sal_uInt32) m_xOrigin.get());
     if(it != UnoObjToWrapperMap.end())
         UnoObjToWrapperMap.erase(it);
-#if OSL_DEBUG_LEVEL > 0
-    fprintf(stderr,"[automation bridge] UnoObjToWrapperMap  contains: %i \n",
-            UnoObjToWrapperMap.size());
-#endif
 }
 
 STDMETHODIMP InterfaceOleWrapper_Impl::QueryInterface(REFIID riid, LPVOID FAR * ppv)


More information about the Libreoffice-commits mailing list