Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 27/09/12 11:00, Noel Grandin wrote:
Hi

These patches pass a full make check.

pushed, though i'm somewhat worried about changes to virtual methods...
but they should give "overloaded virtual" warnings if gone wrong?

except:

these failed to apply here:

 sal_Bool->bool in lotuswordpro
 sal_Bool->bool in svl::SfxUndoAction

Patch 20 might need some careful scrutiny since it adds extra operators 
to SvStream for handling bool.

that sounds like a horrible idea to me: the use of overloading for
binary serialization of integers is a recipe for disaster in the first
place, because the serialization format can be changed accidentally then
by changing the type of some variable, or worse, some typedef or return
type of a function that happens to be used for serialization.

please add a WriteBool() method or something like that, and hopefully
the compiler will point you to the places where it has to be used.

(also, a week or two i foolishly said that adding the overload
OUStringBuffer::append(bool) can't break anything, but moggi had to
revert that because it did.)

these depend on that operator:

 sal_Bool->bool in svl::CntBoolItem

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.