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


On 08/12/11 10:41, Stephan Bergmann wrote:
On 12/08/2011 09:43 AM, Markus Mohrhard wrote:
Can you check that you can open
sc/qa/extras/testfiles/datapilotfieldobj.ods and that you don't have
any hidden lock files in this directory.

It would be great if tests would not write lock files into the source 
tree.  Maybe there is an option (or maybe one could easily be added) for 
loadComponentFromURL (or whatever method the tests use to actually load 
the files) to not do the locking stuff.

of course there is:

            PropertyValue[] loadProps = new PropertyValue[1];
            loadProps[0] = new PropertyValue();
            loadProps[0].Name = "ReadOnly";
            loadProps[0].Value = new Boolean(true);

now pass that as the last argument to loadComponentFromURL


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.