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

_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to