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


Hi all,

I'm writing you this email because I came across a problem when trying to
use assetXPath to check a double value.
I created this test https://gerrit.libreoffice.org/#/c/22196/ to cover the
opacity attribute, which is 0.5, however, If I do

assertXPath(pDocument, "/primitive2D/transform/mask/unifiedtransparence",
"transparence", "0.5");

it fails because the value it returns is 0 and the decimals are lost on
they way.

I've tried to debug it but I see that at this point:
http://opengrok.libreoffice.org/xref/core/test/source/xmltesttools.cxx#74,
it's already returning 0 so I don't know where else to see.

My question is: is this behavior intentioned? if not, could anybody give a
hint where the problem could be?

Best Regards,
Xisco

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.