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

Jacek Wolszczak shutdownrunner at gmail.com
Mon May 9 05:36:44 PDT 2011


2011/5/9 Christian Lohmaier <lohmaier+libreoffice at googlemail.com>

> HI * -
>
> your mail has been flagged as spam by gmail, so I reply to unhide it
> for other gmail users/ping them to look in the spam folder to recover
> it :-)
>
> Thanks :)


> Thanks for the patches! :-)
>
> On Sun, May 8, 2011 at 11:27 PM, Jacek Wolszczak
> <shutdownrunner at gmail.com> wrote:
> >
> > 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.
>
> Yes, indeed, this very, very likely is a leftover from an individual
> developer's working-tree (MIB is a developer's id)
>
>
> > 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?
>
> Please put other question in a seperate thread - it makes tracking the
> patches (have they been integrated already?) and also answereing the
> other questions much easier.
>

Ok. Thanks for the tip.

>
> > Everything is LGPL3 / MPL if you find it useful.
>
> Of course, but make that the "+" variant please :-)
>
> Yes, definitely. Let it be known then that any patches submitted by me are
under LGPL3+ / MPL.


> ciao
> Christian
>

Jacek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110509/38bc56d0/attachment-0001.html>


More information about the LibreOffice mailing list