[Libreoffice] [PATCH] Make base debug.hxx free

Jacek Wolszczak shutdownrunner at gmail.com
Sat Jun 11 02:21:07 PDT 2011


Hi,

The patches attached hereto make base debug.hxx free.
I removed a lot of DBG_CHKTHIS, DBG_CTOR and DBG_DTOR with NULL argument
and did some standard #ifdef DBG_UTIL to #if OSL_DEBUG_LEVEL > 0
conversion.

I'm especially interested in getting some feedback on removing functions like:
DBG_CTOR(ODBTableDecorator, NULL);
DBG_DTOR(ODBTableDecorator, NULL);

whether anyone actually uses data updated: 
http://opengrok.libreoffice.org/xref/libs-gui/tools/source/debug/debug.cxx#1533
http://opengrok.libreoffice.org/xref/libs-gui/tools/source/debug/debug.cxx#1554

If the functions do something useful anyway what should they be
replaced with? Or maybe such a task would not be easy enough for an
easy hack?

Jacek

-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug-hxx-free-base.tar.gz
Type: application/x-compressed-tar
Size: 109423 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110611/b79c3b9c/attachment-0001.bin>


More information about the LibreOffice mailing list