Need help (mentor) while fixing an issue

Jan Holesovsky kendy at suse.cz
Mon Feb 13 06:19:22 PST 2012


Hi Dag,

Dag Wieers píše v Pá 10. 02. 2012 v 16:36 +0100:

> I found a bug in LibreOffice causing style:rel-width and style:rel-height 
> not to accept "scale" as a possible value. In fact the behavior seems to 
> be to default to 100% if anything except percentages are provided.
> 
>      https://bugs.freedesktop.org/show_bug.cgi?id=45884
> 
> I reported the bug, but wanted to investigate this issue. However in 
> opengrok any queries for style:rel-width, scale or a combination give very 
> few results and nothing I was really expecting.
> 
> Can someone point me to where I should start debugging this ?

So I think (but have no proof, I was only searching in opengrok), that
it is here:

http://opengrok.libreoffice.org/xref/core/xmloff/source/text/XMLTextFrameContext.cxx#933

It seems to count on the possibility of the 'scale' value, but why does
it not work for you needs to be debugged, I suppose.

I'd first try if this pointer is really the right thing (in debugger, or
via a printf), and if yes, you need to continue further what happens
with this setting, and why does it not work in your case.

Hope that helps,
Kendy



More information about the LibreOffice mailing list