[Libreoffice] Fwd: Extensions code cleanup with patch

David Tardon dtardon at redhat.com
Thu Nov 25 21:26:06 PST 2010


On Thu, Nov 25, 2010 at 10:15:52PM +0200, Roth Robert wrote:
> ---------- Forwarded message ----------
> From: Roth Robert <robert.roth.off at gmail.com>
> Date: Thu, Nov 25, 2010 at 9:27 PM
> Subject: Extensions code cleanup
> To: libreoffice at lists.freedesktop.org
> 
> 
> Some more dead code and bogus comments removed from extensions. The license,
> as always is LGPLv3+ / MPL.

> --- a/extensions/source/ole/unotypewrapper.hxx
> +++ b/extensions/source/ole/unotypewrapper.hxx
> @@ -36,7 +36,7 @@
>  #define _WIN32_WINNT 0x0403
>  #define _WIN32_DCOM
>  #if OSL_DEBUG_LEVEL > 0
> -//#define _ATL_DEBUG_INTERFACES
> +
>  #endif
>  #include <atlbase.h>
>  extern CComModule _Module;

I've done

-#if OSL_DEBUG_LEVEL > 0
-//#define _ATL_DEBUG_INTERFACES
+#if OSL_DEBUG_LEVEL > 2
+#define _ATL_DEBUG_INTERFACES

instead. No reason the debugging shouldn't be available when someone
needs it.

D.


More information about the LibreOffice mailing list