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

Stephan Bergmann sbergman at redhat.com
Wed Apr 27 12:27:17 UTC 2016


 cppuhelper/source/component_context.cxx |    9 ---------
 1 file changed, 9 deletions(-)

New commits:
commit 11ba28a47d467ae7d747f7300c0bd82623b90ef6
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Apr 27 14:25:39 2016 +0200

    Remove ancient OSL_DEBUG_LEVEL printf
    
    ...alerting about something that is not too exciting anyway
    
    Change-Id: I7596f14e52a0272762f923882f5f92fc3ac1ddf4

diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx
index 55b126c..776eef0 100644
--- a/cppuhelper/source/component_context.cxx
+++ b/cppuhelper/source/component_context.cxx
@@ -22,10 +22,6 @@
 #define CONTEXT_DIAG
 #endif
 
-#if OSL_DEBUG_LEVEL > 0
-#include <stdio.h>
-#endif
-
 #include <unordered_map>
 #ifdef CONTEXT_DIAG
 #include <map>
@@ -565,11 +561,6 @@ Any ComponentContext::lookupMap( OUString const & rName )
             if (usesService >>= xFac2)
             {
                 // try via old XSingleServiceFactory
-#if OSL_DEBUG_LEVEL > 0
-                ::fprintf(
-                    stderr,
-                    "### omitting context for service instantiation!\n" );
-#endif
                 xInstance = args.getLength()
                     ? xFac2->createInstanceWithArguments( args )
                     : xFac2->createInstance();


More information about the Libreoffice-commits mailing list