[Libreoffice] [LibreOffice][PATCH]EasyHack: Replace DBG_ macros with OSL_ equivalents

Jacek Wolszczak shutdownrunner at gmail.com
Sun May 8 14:27:10 PDT 2011


Hi,

Attached hereto are two patches. The first one replaces DBG_WARNING,
DBG_ASSERT, etc. with OSL_ASSERT and OSL_FAIL in writer/sw directory.

I have also removed writer/sw/source/core/inc/dbgloop.hxx as it's not
used anywhere (patch 2).

In
http://opengrok.libreoffice.org/xref/writer/sw/source/core/access/acccontext.cxx#1520

TEST_MIB is never defined so I guess that DBG_MSG could be removed as
there are probably better ways to debug accessibility stuff.

In the case of http://goo.gl/D0nC8. Do you think that dbgoutsw.* could
be removed and dbg_out be either removed from ww8/* files or replaced
with some other debug function?

Everything is LGPL3 / MPL if you find it useful.

Best regards,

Jacek


More information about the LibreOffice mailing list