respect flag for relative paths, fdo#79305

Conflicts:
	sc/source/filter/xml/xmlexprt.cxx

Change-Id: I8f4e5f8f5e489d543f81b0b20255c875b83f7afc