On Thu, Nov 25, 2010 at 10:51:05AM +0100, Sebastian Spaeth <Sebastian@SSpaeth.de> wrote:
On Thu, 25 Nov 2010 10:47:22 +0100, Sebastian Spaeth wrote:+#define OSL_LOG_PREFIX (OSL_THIS_FILE, ":", OSL_THIS_FUNC, ":", OSL_MACRO_VALUE_TO_STRING( __LINE__ ), "; ")On OOo there is a bug open to remove OSL_THIS_FUNC (or was it an Easy Hack) as it is not doing anyway what it is suposed to do.
That's my patch is intended to fix the issue properly. Just removing it is not a solution, or you'll have to paste the function name in several debug messages - and we don't like copy&paste in source code, right? :)
This is the bug I thought of, but it is closed as fixed on 09-28: http://www.openoffice.org/issues/show_bug.cgi?id=114290
Please see my earlier mail in this thread: http://article.gmane.org/gmane.comp.documentfoundation.libreoffice.devel/2615 It's not fixed, they just removed it.
Attachment:
pgpJhHM1m3XCd.pgp
Description: PGP signature