[PATCH] Grouping ScFormulaOptions

Albert Thuswaldner albert.thuswaldner at gmail.com
Wed Apr 11 16:12:39 PDT 2012


Hi,

Thanks for pushing the patch. I will try to keep my build tree more up
to date in the future.

On Tue, Apr 10, 2012 at 18:31, Kohei Yoshida <kohei.yoshida at gmail.com> wrote:
> Hi Albert,
>
> On Mon, Apr 9, 2012 at 6:31 PM, Albert Thuswaldner
> <albert.thuswaldner at gmail.com> wrote:
>> Hi Kohei,
>> As said back in February:
>> http://lists.freedesktop.org/archives/libreoffice/2012-February/027009.html
>> here is a follow-on patch that "groups" the formula options in the
>> same fashion as the print options.
>
> Reviewed it, and pushed to master with some minor modifications.
>
> What I modified are:
>
> 1) have the assignment operator return a non-const reference of "this"
> object instead of const reference.
> 2) have the equality and non-equality operators of ScFormulaOptions
> return bool instead of int.
>
> Regarding 2), I didn't modify the return type of operator== for
> ScTpFormulaItem because it was a virtual function.
>

I was happily unaware of those things. ;)

> Another nice work, Albert.  Much appreciated. :-)

Thanks.

Here is a small follow-up patch that removes some unneeded includes
from tpformula.hxx, which I previously overlooked.

/Albert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-removed-unused-includes-in-tpformula.hxx.patch
Type: text/x-patch
Size: 1082 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120412/40aea7c8/attachment.bin>


More information about the LibreOffice mailing list