From 625e91c75fe66d4e067213a561f19e626cfbfa93 Mon Sep 17 00:00:00 2001 From: Marcos Paulo de Souza Date: Mon, 8 Oct 2012 20:02:03 -0300 Subject: More useless code, "#if 0" blocks in lingucomponent, sal, and rsc Change-Id: I1dda0f2b3bc2bb4a4a877c160026e53a90471d54 Signed-off-by: Marcos Paulo de Souza --- sal/rtl/source/strimp.hxx | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'sal/rtl') diff --git a/sal/rtl/source/strimp.hxx b/sal/rtl/source/strimp.hxx index 82f7f41fee74..6face213a031 100644 --- a/sal/rtl/source/strimp.hxx +++ b/sal/rtl/source/strimp.hxx @@ -55,22 +55,8 @@ sal_Int16 rtl_ImplGetDigit( sal_Unicode ch, sal_Int16 nRadix ); sal_Bool rtl_ImplIsWhitespace( sal_Unicode c ); // string lifetime instrumentation / diagnostics -#if 0 -# include -# define RTL_LOG_STRING_NEW(s) \ - do { \ - fprintf (stderr, "+%s\n", \ - rtl::OUStringToOString(s, RTL_TEXTENCODING_UTF8).getStr()); \ - } while (0) -# define RTL_LOG_STRING_DELETE(s) \ - do { \ - fprintf (stderr, "-%s\n", \ - rtl::OUStringToOString(s, RTL_TEXTENCODING_UTF8).getStr()); \ - } while (0) -#else # define RTL_LOG_STRING_NEW(s) # define RTL_LOG_STRING_DELETE(s) -#endif #endif /* INCLUDED_RTL_SOURCE_STRIMP_HXX */ -- cgit