Workarounds a problem with Libreoffice 4.1.1.2 from Ubuntu PPA.

This is a workaround for a problem with Libreoffice PPA for Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1222823 .

Reviewed-by: Robert Knight
MD-19770