Fixed a problem with links in openoffice documents