Simplify productname logic.
Simplify productname logic.

Change-Id: I55fb371843071943ea7966e42444cc56faee9430
Reviewed-on: https://gerrit.libreoffice.org/16589
Reviewed-by: Michael Meeks <7e3f212bc57cabc465c9df7f45a34ee84553965e@collabora.com>
Tested-by: Michael Meeks <7e3f212bc57cabc465c9df7f45a34ee84553965e@collabora.com>

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core