You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Michael Stahl <ms...@openoffice.org> on 2012/01/08 16:31:01 UTC

Re: Build braker in drawinglayer

On 29/12/11 21:40, Armin Le Grand wrote:
> 	Hi*,
> 
> Address of bitfield is strange, but can only be a bitfield variable. The 
> only one in the class TextBreakupHelper is mbNoDXArray, and it is only 
> used internally. Address of bitfield implies that it gets somewhere 
> casted or given as pointer/reference to some call, but it gets not. The 
> only thing which I stumbled upon is that it gets not really initialized 
> (see constructor of TextBreakupHelper), so please try:
> 
> ln44: 'mbNoDXArray()' -> 'mbNoDXArray(true)'
> 
> If this helps this is a hint that the compiler tries to make this a 
> function call...

AFAIK this is valid C++ syntax and should initialize the member to 0, cast
to the integral type of the member variable (presumably, bool here).

yet another bug in SunStudio's so-called C++ compiler.

btw, the value would be "false", not "true".