New bug, looking for source location for setting Calc formulas

Andrew Douglas Pitonyak andrew at pitonyak.org
Thu Aug 29 22:27:05 PDT 2013


On 08/29/2013 10:44 PM, Andrew Douglas Pitonyak wrote:
>
> Anyone know off hand where I can find the sourcecode to set the the 
> Formula and FormulaLocal property. Then, how can I see how changed 
> that code last?
>
> A bug was introduced in 4.1 and I am trying to track the developer 
> responsible.
>
> So, what is the bug?
>
> Setting the Formula property on a Calc cell has always expected 
> English formulas. Use the FormulaLocal property otherwise. The new 
> behavior is that the Formula property acts the same as FormulaLocal
>
> https://bugs.freedesktop.org/show_bug.cgi?id=67836
>
> I became aware of this based on a post on the mailing list. Turns out 
> there was already an open and not verified bug. I have verified the 
> behavior but would like to chat with the responsible developer before 
> changing to confirmed and asking the responsible party to consider 
> backing out their change (as well as can be done after a release). 
> Alternatively, I can at least document the new behavior that the two 
> properties are identical so you might as well deprecate one.
>
Looks like setting the FormulaLocal property is probably handled in 
sc/source/ui/unoobj/cellsuno.cxx


ScCellObj::SetOnePropertyValue

this calls SetString_Impl

My head hurts now.


-- 
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
Info:  http://www.pitonyak.org/oo.php



More information about the LibreOffice mailing list