[Libreoffice] Make check from master fails in sc_datapilotfieldobj

Michael Stahl mstahl at redhat.com
Thu Dec 8 02:29:21 PST 2011

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

More information about the LibreOffice mailing list